mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-01-20 07:30:20 +01:00
Update timer.py
This commit is contained in:
parent
9c2f9c4c18
commit
3a627c94a1
|
|
@ -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…
Reference in a new issue