Revision: 29715
http://sourceforge.net/p/bibdesk/svn/29715
Author: hofman
Date: 2025-10-12 16:36:29 +0000 (Sun, 12 Oct 2025)
Log Message:
-----------
make sure we don't try messaging when stopped
Modified Paths:
--------------
trunk/bibdesk/BDSKSharingServer.m
Modified: trunk/bibdesk/BDSKSharingServer.m
===================================================================
--- trunk/bibdesk/BDSKSharingServer.m 2025-10-12 16:32:54 UTC (rev 29714)
+++ trunk/bibdesk/BDSKSharingServer.m 2025-10-12 16:36:29 UTC (rev 29715)
@@ -627,7 +627,8 @@
success = YES;
sharingName = name;
dispatch_async(dispatch_get_main_queue(), ^{
- [sharingServer asyncServer:self didSetupWithSharingName:name
tryCount:tryCount port:port];
+ if ([self shouldKeepRunning])
+ [sharingServer asyncServer:self
didSetupWithSharingName:name tryCount:tryCount port:port];
});
break;
}
@@ -640,7 +641,8 @@
sharingName = nil;
[receivePort invalidate];
dispatch_async(dispatch_get_main_queue(), ^{
- [sharingServer asyncServerDidFailToSetup:self];
+ if ([self shouldKeepRunning])
+ [sharingServer asyncServerDidFailToSetup:self];
});
}
}
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