Revision: 27511
          http://sourceforge.net/p/bibdesk/svn/27511
Author:   hofman
Date:     2022-05-31 15:06:37 +0000 (Tue, 31 May 2022)
Log Message:
-----------
don't explicitly remove editor as windowController

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

Modified: trunk/bibdesk/BDSKEditor.m
===================================================================
--- trunk/bibdesk/BDSKEditor.m  2022-05-31 09:33:00 UTC (rev 27510)
+++ trunk/bibdesk/BDSKEditor.m  2022-05-31 15:06:37 UTC (rev 27511)
@@ -3022,10 +3022,6 @@
 
        // this can give errors when the application quits when an editor 
window is open
        [[self document] 
runScriptHookWithName:BDSKScriptHookNameCloseEditorWindow 
forPublications:[NSArray arrayWithObject:publication]];
-    
-    // document still has a retain up to this point
-    // @@ CMH: is this really necessary? it seems wrong
-    [[self document] removeWindowController:self];
 }
 
 - (void)setDocument:(NSDocument *)document {

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