mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
when asking to quit, don't consider stalled transfers active
This commit is contained in:
@@ -498,7 +498,7 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
|
||||
Torrent * torrent;
|
||||
NSEnumerator * enumerator = [fTorrents objectEnumerator];
|
||||
while ((torrent = [enumerator nextObject]))
|
||||
if ([torrent isActive])
|
||||
if ([torrent isActive] && ![torrent isStalled])
|
||||
{
|
||||
active++;
|
||||
if (![torrent allDownloaded])
|
||||
|
||||
Reference in New Issue
Block a user