mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-08 01:18:39 +00:00
Remove shutdown() from TorrentManager because stop() is already called
during a component shutdown.
This commit is contained in:
parent
494c0cc558
commit
d32ffa7ace
1 changed files with 0 additions and 3 deletions
|
@ -120,9 +120,6 @@ class TorrentManager(component.Component):
|
||||||
for key in self.torrents.keys():
|
for key in self.torrents.keys():
|
||||||
self.torrents[key].write_fastresume()
|
self.torrents[key].write_fastresume()
|
||||||
|
|
||||||
def shutdown(self):
|
|
||||||
self.stop()
|
|
||||||
|
|
||||||
def __getitem__(self, torrent_id):
|
def __getitem__(self, torrent_id):
|
||||||
"""Return the Torrent with torrent_id"""
|
"""Return the Torrent with torrent_id"""
|
||||||
return self.torrents[torrent_id]
|
return self.torrents[torrent_id]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue