Revision: 27882
          http://sourceforge.net/p/bibdesk/svn/27882
Author:   hofman
Date:     2022-09-10 21:08:31 +0000 (Sat, 10 Sep 2022)
Log Message:
-----------
cancel any update notifications when disabling sharing

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

Modified: trunk/bibdesk/BDSKSharingServer.m
===================================================================
--- trunk/bibdesk/BDSKSharingServer.m   2022-09-09 14:37:34 UTC (rev 27881)
+++ trunk/bibdesk/BDSKSharingServer.m   2022-09-10 21:08:31 UTC (rev 27882)
@@ -364,6 +364,8 @@
 {
     // cancel possible delayed restart
     [[self class] cancelPreviousPerformRequestsWithTarget:self 
selector:@selector(enableSharing) object:nil];
+    // cancel possible update notifications
+    [[self class] cancelPreviousPerformRequestsWithTarget:self 
selector:@selector(handleQueuedDataChanged) object:nil];
     
     if (status != BDSKSharingStatusOff) {
         [netService setDelegate:nil];

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