1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-05 22:12:11 +00:00

when closing torrents, don't try to re-stop torrents that are already stopped.

This commit is contained in:
Charles Kerr 2007-07-21 18:03:24 +00:00
parent 1d932b07c7
commit 50f407933b

View file

@ -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 );
}