From 96d9ab5abbd44e76e39eb8436ed10f4860e120cc Mon Sep 17 00:00:00 2001 From: Peter Bailey Date: Sun, 23 Jan 2022 12:46:56 -0800 Subject: [PATCH] allow stopping torrents in verification states (#715) --- libtransmission/rpcimpl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtransmission/rpcimpl.cc b/libtransmission/rpcimpl.cc index a1ee6be9c..3a2a5813b 100644 --- a/libtransmission/rpcimpl.cc +++ b/libtransmission/rpcimpl.cc @@ -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);