fix: mark torrent as changed when stopping (#6405)

This commit is contained in:
Yat Ho 2023-12-18 13:29:53 +08:00 committed by GitHub
parent 2dea0b5fa2
commit 7c9e04d035
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -753,6 +753,7 @@ void tr_torrent::stop_now()
is_running_ = false;
is_stopping_ = false;
mark_changed();
if (!session->isClosing())
{