mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-14 05:26:28 +00:00
[Core] Fix Twisted AlreadyCalled error on shutdown
This commit is contained in:
parent
560318a5a7
commit
4b9dcf377c
@ -74,6 +74,7 @@ class AlertManager(component.Component):
|
||||
|
||||
def stop(self):
|
||||
for dc in self.delayed_calls:
|
||||
if dc.active():
|
||||
dc.cancel()
|
||||
self.delayed_calls = []
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user