#2041 bounce Downloads stack when downloads are complete
This commit is contained in:
parent
f9aa317998
commit
a0e34bc270
|
@ -1690,6 +1690,10 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
|
|||
if (![fWindow isMainWindow])
|
||||
[fBadger incrementCompleted];
|
||||
|
||||
//bounce download stack
|
||||
[[NSDistributedNotificationCenter defaultCenter] postNotificationName: @"com.apple.DownloadFileFinished"
|
||||
object: [[torrent downloadFolder] stringByAppendingPathComponent: [torrent name]]];
|
||||
|
||||
if ([fDefaults boolForKey: @"QueueSeed"] && [self numToStartFromQueue: NO] <= 0)
|
||||
{
|
||||
[torrent stopTransfer];
|
||||
|
|
Loading…
Reference in New Issue