mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-01-09 18:20:04 +01:00
Update timer.py
This commit is contained in:
parent
890b2630cb
commit
0363979c6c
|
|
@ -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