Revision: 22552
http://sourceforge.net/p/bibdesk/svn/22552
Author: hofman
Date: 2018-09-02 21:41:37 +0000 (Sun, 02 Sep 2018)
Log Message:
-----------
set document of groups to nil before cleaning them up
Modified Paths:
--------------
trunk/bibdesk/BibDocument.m
Modified: trunk/bibdesk/BibDocument.m
===================================================================
--- trunk/bibdesk/BibDocument.m 2018-09-02 21:22:40 UTC (rev 22551)
+++ trunk/bibdesk/BibDocument.m 2018-09-02 21:41:37 UTC (rev 22552)
@@ -683,6 +683,7 @@
// always release these on the main thread, many need cleanup on the main
thread,
// and having dispatch_sync for every one seperately is inefficient
+ [groups setValue:nil forKey:@"document"];
BDSKDESTROY(groups);
// the outline view retains its items, so clean them up as well
[groupOutlineView reloadData];
@@ -722,7 +723,6 @@
// 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"];
- [groups setValue:nil forKey:@"document"];
// this was retained because it can be swapped in/out
[[tableView enclosingScrollView] release];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit