mirror of
https://github.com/transmission/transmission
synced 2025-03-03 10:15:45 +00:00
#5407: Fix crash on Mac when pausing torrents (patch by x190)
This commit is contained in:
parent
7de6a52e14
commit
74c6719bb2
1 changed files with 3 additions and 0 deletions
|
@ -2612,6 +2612,9 @@ tr_peerMgrGetDesiredAvailable (const tr_torrent * tor)
|
|||
|
||||
/* common shortcuts... */
|
||||
|
||||
if (!tor->isRunning)
|
||||
return 0;
|
||||
|
||||
if (tr_torrentIsSeed (tor))
|
||||
return 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue