We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
threading.Thread.is_alive()
1 parent 98c4295 commit 600efeeCopy full SHA for 600efee
magicbus/plugins/lifecycle.py
@@ -45,7 +45,7 @@ def EXIT(self):
45
# See http://www.cherrypy.org/ticket/751.
46
self.bus.log('Waiting for child threads to terminate...')
47
for t in threading.enumerate():
48
- if t == threading.currentThread() or not t.isAlive():
+ if t == threading.current_thread() or not t.is_alive():
49
continue
50
51
# Note that any dummy (external) threads are always daemonic.
0 commit comments