Skip to content

Commit

Permalink
Merge pull request #739 from bitcraze/Aris/DeprecationWarning_setDaemon
Browse files Browse the repository at this point in the history
Fixed setDaemon() deprecation warning
  • Loading branch information
ArisMorgens authored Feb 18, 2025
2 parents 47c271c + edc4828 commit 454dc33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cfclient/utils/periodictimer.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def start(self):
logger.warning("Timer already started, not restarting")
return
self._thread = _PeriodicTimerThread(self._period, self._callbacks)
self._thread.setDaemon(True)
self._thread.daemon = True
self._thread.start()

def stop(self):
Expand Down

0 comments on commit 454dc33

Please sign in to comment.