1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-27 18:18:10 +00:00

allow stopping torrents in verification states (#715)

This commit is contained in:
Peter Bailey 2022-01-23 12:46:56 -08:00 committed by GitHub
parent 85566c372e
commit 96d9ab5abb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -293,7 +293,7 @@ static char const* torrentStop(
{
for (auto* tor : getTorrents(session, args_in))
{
if (tor->isRunning || tor->isQueued())
if (tor->isRunning || tor->isQueued() || tor->verifyState != TR_VERIFY_NONE)
{
tor->isStopping = true;
notify(session, TR_RPC_TORRENT_STOPPED, tor);