Revision: 27149 http://sourceforge.net/p/bibdesk/svn/27149 Author: hofman Date: 2021-11-21 14:57:42 +0000 (Sun, 21 Nov 2021) Log Message: ----------- Not really needed to remove temporray file for URL group, it will be done by removing the base directory anyway, and it seems to come too late anyway
Modified Paths: -------------- trunk/bibdesk/BDSKURLGroup.m Modified: trunk/bibdesk/BDSKURLGroup.m =================================================================== --- trunk/bibdesk/BDSKURLGroup.m 2021-11-21 14:55:07 UTC (rev 27148) +++ trunk/bibdesk/BDSKURLGroup.m 2021-11-21 14:57:42 UTC (rev 27149) @@ -51,12 +51,6 @@ #import "BibItem.h" #import "BDSKMacroResolver.h" -@interface BDSKURLGroup (BDSKPrivate) -- (void)handleApplicationWillTerminate:(NSNotification *)aNotification; -@end - -#pragma mark - - @implementation BDSKURLGroup @synthesize URL; @@ -87,8 +81,6 @@ isRetrieving = NO; failedDownload = NO; download = nil; - - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(handleApplicationWillTerminate:) name:NSApplicationWillTerminateNotification object:nil]; } return self; @@ -145,12 +137,6 @@ [super dealloc]; } -- (void)handleApplicationWillTerminate:(NSNotification *)aNotification { - // for some reason dealloc is never called when the app terminates - [self cleanup]; - BDSKDESTROY(fileURL); -} - - (void)stopRetrieving; { [download cancel]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Bibdesk-commit mailing list Bibdesk-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-commit