mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
Process all alerts before shutting down torrentmanager
This commit is contained in:
parent
c5a7abe5d2
commit
3ed6e59cae
1 changed files with 2 additions and 2 deletions
|
@ -154,8 +154,8 @@ class TorrentManager(component.Component):
|
|||
self.save_state()
|
||||
for key in self.torrents.keys():
|
||||
self.torrents[key].handle.pause()
|
||||
# Wait for all alerts
|
||||
self.alerts.handle_alerts(True)
|
||||
# Wait for all alerts
|
||||
self.alerts.handle_alerts(True)
|
||||
|
||||
def update(self):
|
||||
if self.config["stop_seed_at_ratio"]:
|
||||
|
|
Loading…
Add table
Reference in a new issue