#5407: Fix crash on Mac when pausing torrents (patch by x190)

This commit is contained in:
Mike Gelfand 2015-03-26 18:32:33 +00:00
parent 12095175a1
commit c768af3865
1 changed files with 1 additions and 1 deletions

View File

@ -2612,7 +2612,7 @@ tr_peerMgrGetDesiredAvailable (const tr_torrent * tor)
/* common shortcuts... */
if (!tor->isRunning)
if (!tor->isRunning || tor->isStopping)
return 0;
if (tr_torrentIsSeed (tor))