Revision: 29057
http://sourceforge.net/p/bibdesk/svn/29057
Author: hofman
Date: 2025-02-24 09:40:25 +0000 (Mon, 24 Feb 2025)
Log Message:
-----------
make sure we don't keep chnaged publications when document closes
Modified Paths:
--------------
trunk/bibdesk/BibDocument.m
Modified: trunk/bibdesk/BibDocument.m
===================================================================
--- trunk/bibdesk/BibDocument.m 2025-02-23 17:45:39 UTC (rev 29056)
+++ trunk/bibdesk/BibDocument.m 2025-02-24 09:40:25 UTC (rev 29057)
@@ -725,6 +725,8 @@
// workaround for crash: to reproduce, create empty doc, hit cmd-n for new
editor window, then cmd-q to quit, choose "don't save"; this results in an
-undoManager message to the dealloced document
[publications setValue:nil forKey:@"owner"];
+ changedPublications = nil;
+
// safety call here, in case the pasteboard is retaining the document; we
don't want notifications after the window closes, since all the pointers to UI
elements will be garbage
[[NSNotificationCenter defaultCenter] removeObserver:self];
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit