when closing torrents, don't try to re-stop torrents that are already stopped.
This commit is contained in:
parent
1d932b07c7
commit
50f407933b
|
@ -931,6 +931,7 @@ void tr_torrentStart( tr_torrent_t * tor )
|
|||
|
||||
void tr_torrentStop( tr_torrent_t * tor )
|
||||
{
|
||||
if((tor->runStatus != TR_RUN_STOPPING) && (tor->runStatus != TR_RUN_STOPPED) )
|
||||
setRunState( tor, TR_RUN_STOPPING );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue