Revision: 27148
          http://sourceforge.net/p/bibdesk/svn/27148
Author:   hofman
Date:     2021-11-21 14:55:07 +0000 (Sun, 21 Nov 2021)
Log Message:
-----------
remove temporary file to hold paste/drag data woith errors on dealloc of its 
editor

Modified Paths:
--------------
    trunk/bibdesk/BDSKErrorEditor.m

Modified: trunk/bibdesk/BDSKErrorEditor.m
===================================================================
--- trunk/bibdesk/BDSKErrorEditor.m     2021-11-21 14:43:33 UTC (rev 27147)
+++ trunk/bibdesk/BDSKErrorEditor.m     2021-11-21 14:55:07 UTC (rev 27148)
@@ -110,6 +110,8 @@
 }
 
 - (void)dealloc {
+    if (pasteDrag && fileURL)
+        [[NSFileManager defaultManager] removeItemAtURL:fileURL error:NULL];
     [[NSNotificationCenter defaultCenter] removeObserver:self];
     BDSKDESTROY(errors);
     BDSKDESTROY(fileURL);

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

Reply via email to