Revision: 28745
          http://sourceforge.net/p/bibdesk/svn/28745
Author:   hofman
Date:     2024-02-16 16:55:40 +0000 (Fri, 16 Feb 2024)
Log Message:
-----------
don't terminate server when it is already gone

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

Modified: trunk/bibdesk/BDSKSearchGroup.m
===================================================================
--- trunk/bibdesk/BDSKSearchGroup.m     2024-02-16 16:48:16 UTC (rev 28744)
+++ trunk/bibdesk/BDSKSearchGroup.m     2024-02-16 16:55:40 UTC (rev 28745)
@@ -180,7 +180,8 @@
 - (void)dealloc
 {
     // should always be on the main thread, see BibDocument, but be sure
-    BDSKENSURE_MAIN_THREAD( [server terminate]; );
+    if (server)
+        BDSKENSURE_MAIN_THREAD( [server terminate]; );
 }
 
 // Logging

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

Reply via email to