mirror of
https://github.com/transmission/transmission
synced 2024-12-21 23:32:35 +00:00
fix: save resume when shutting down (#7216)
Regression from 24bb159bfe
Xref: https://trac.transmissionbt.com/ticket/2317
This commit is contained in:
parent
361b5c6152
commit
7978120c41
1 changed files with 1 additions and 0 deletions
|
@ -864,6 +864,7 @@ void tr_torrentFreeInSessionThread(tr_torrent* tor)
|
|||
tr_logAddInfoTor(tor, _("Removing torrent"));
|
||||
}
|
||||
|
||||
tor->set_dirty(!tor->is_deleting_);
|
||||
tor->stop_now();
|
||||
|
||||
if (tor->is_deleting_)
|
||||
|
|
Loading…
Reference in a new issue