#5407: Fix crash on Mac when pausing torrents (patch by x190)
This commit is contained in:
parent
12095175a1
commit
c768af3865
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue