mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-17 13:56:47 +00:00
Remove shutdown() from TorrentManager because stop() is already called
during a component shutdown.
This commit is contained in:
parent
494c0cc558
commit
d32ffa7ace
@ -119,9 +119,6 @@ class TorrentManager(component.Component):
|
||||
self.pause_all()
|
||||
for key in self.torrents.keys():
|
||||
self.torrents[key].write_fastresume()
|
||||
|
||||
def shutdown(self):
|
||||
self.stop()
|
||||
|
||||
def __getitem__(self, torrent_id):
|
||||
"""Return the Torrent with torrent_id"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user