]> granicus.if.org Git - transmission/commitdiff
revert r13603
authorMitchell Livingston <livings124@transmissionbt.com>
Wed, 31 Oct 2012 21:27:59 +0000 (21:27 +0000)
committerMitchell Livingston <livings124@transmissionbt.com>
Wed, 31 Oct 2012 21:27:59 +0000 (21:27 +0000)
macosx/Controller.m

index fe02b5f46d63f44da3dfc57f8750565eaf0ac4e1..6197ee3abc3f46747777f541eb428449e72c5536 100644 (file)
@@ -1502,11 +1502,9 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
                     [NSAnimationContext beginGrouping]; //this has to be before we set the completion handler (#4874)
                     
                     //we can't closeRemoveTorrent: until it's no longer in the GUI at all
-                    [torrents retain];
                     [[NSAnimationContext currentContext] setCompletionHandler: ^{
                         for (Torrent * torrent in torrents)
                             [torrent closeRemoveTorrent: deleteData];
-                        [torrents release];
                     }];
                     
                     [fTableView beginUpdates];