mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-04-07 23:34:01 +00:00
Update timer.py
This commit is contained in:
parent
9c2f9c4c18
commit
3a627c94a1
1 changed files with 2 additions and 1 deletions
|
|
@ -64,7 +64,8 @@ class RepeatedTimer:
|
|||
if self._thread is not None:
|
||||
logging.debug("stop repeatedTimer: %s", self._thread.name)
|
||||
self._event.set()
|
||||
self._thread.join()
|
||||
if self._thread is not None:
|
||||
self._thread.join()
|
||||
return True
|
||||
logging.warning("repeatedTimer always stopped")
|
||||
return True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue