Small tweak to make sure writing fastresume is not skipped when torrents are paused.
This commit is contained in:
parent
25efa5437b
commit
d3a0b9d877
|
@ -926,7 +926,7 @@ class TorrentManager(component.Component):
|
|||
component.get("EventManager").emit(TorrentStateChangedEvent(torrent_id, torrent.state))
|
||||
|
||||
# Write the fastresume file if we are not waiting on a bulk write
|
||||
if not self.waiting_on_resume_data:
|
||||
if torrent_id not in self.waiting_on_resume_data:
|
||||
self.save_resume_data((torrent_id,))
|
||||
|
||||
def on_alert_torrent_checked(self, alert):
|
||||
|
|
Loading…
Reference in New Issue