1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-22 07:42:37 +00:00

fix: save resume when shutting down (#7216)

Regression from 24bb159bfe
Xref: https://trac.transmissionbt.com/ticket/2317
This commit is contained in:
Yat Ho 2024-11-03 05:08:00 +08:00 committed by GitHub
parent 361b5c6152
commit 7978120c41
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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_)