Revision: 13676
          http://sourceforge.net/p/skim-app/code/13676
Author:   hofman
Date:     2023-10-10 15:52:08 +0000 (Tue, 10 Oct 2023)
Log Message:
-----------
destroy syncdot update block when finished, just to be sure any retain cycle is 
broken

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

Modified: trunk/SKSyncDot.m
===================================================================
--- trunk/SKSyncDot.m   2023-10-04 08:46:36 UTC (rev 13675)
+++ trunk/SKSyncDot.m   2023-10-10 15:52:08 UTC (rev 13676)
@@ -75,7 +75,10 @@
 - (void)finish:(NSTimer *)aTimer {
     [timer invalidate];
     SKDESTROY(timer);
-    if (handler) handler(YES);
+    if (handler) {
+        handler(YES);
+        SKDESTROY(handler);
+    }
 }
 
 - (void)animate:(NSTimer *)aTimer {

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



_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to