Skip to content

Commit

Permalink
allow stopping torrents in verification states (#715)
Browse files Browse the repository at this point in the history
  • Loading branch information
pyrovski committed Jan 23, 2022
1 parent 85566c3 commit 96d9ab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libtransmission/rpcimpl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 96d9ab5

Please sign in to comment.