Revision: 15521
          http://sourceforge.net/p/skim-app/code/15521
Author:   hofman
Date:     2025-06-22 08:47:47 +0000 (Sun, 22 Jun 2025)
Log Message:
-----------
register current documents after removing notifications

Modified Paths:
--------------
    trunk/SKApplicationController.m

Modified: trunk/SKApplicationController.m
===================================================================
--- trunk/SKApplicationController.m     2025-06-22 08:35:22 UTC (rev 15520)
+++ trunk/SKApplicationController.m     2025-06-22 08:47:47 UTC (rev 15521)
@@ -312,10 +312,10 @@
 - (void)applicationStartsTerminating:(NSNotification *)aNotification {
     [currentDocumentsTimer invalidate];
     currentDocumentsTimer = nil;
-    [self registerCurrentDocuments:aNotification];
     NSNotificationCenter *nc = [NSNotificationCenter defaultCenter];
     [nc removeObserver:self name:SKDocumentDidShowNotification object:nil];
     [nc removeObserver:self 
name:SKDocumentControllerDidRemoveDocumentNotification object:nil];
+    [self registerCurrentDocuments:aNotification];
 }
 
 - (void)applicationDocumentControllerCanceledTerminate:(NSApplication 
*)application {

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to