Explorar o código

Removed reference to on_stop in Heart

Ask Solem %!s(int64=15) %!d(string=hai) anos
pai
achega
8c33c542a5
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      celery/worker/heartbeat.py

+ 0 - 1
celery/worker/heartbeat.py

@@ -33,6 +33,5 @@ class Heart(threading.Thread):
 
     def stop(self):
         """Gracefully shutdown the thread."""
-        self.on_stop()
         self._shutdown.set()
         self._stopped.wait() # block until this thread is done