Revision: 28586
http://sourceforge.net/p/bibdesk/svn/28586
Author: hofman
Date: 2024-01-10 22:46:32 +0000 (Wed, 10 Jan 2024)
Log Message:
-----------
just always send notification async on main thread
Modified Paths:
--------------
trunk/bibdesk/BDSKSharingServer.m
Modified: trunk/bibdesk/BDSKSharingServer.m
===================================================================
--- trunk/bibdesk/BDSKSharingServer.m 2024-01-10 22:35:51 UTC (rev 28585)
+++ trunk/bibdesk/BDSKSharingServer.m 2024-01-10 22:46:32 UTC (rev 28586)
@@ -89,7 +89,7 @@
while(cnt--){
key = CFArrayGetValueAtIndex(changedKeys, cnt);
if (key && BDSKComputerNameChangedKey && CFEqual(key,
BDSKComputerNameChangedKey))
- BDSKENSURE_MAIN_THREAD( [[NSNotificationCenter defaultCenter]
postNotificationName:BDSKComputerNameChangedNotification object:nil]; );
+ dispatch_async(dispatch_get_main_queue(), ^{
[[NSNotificationCenter defaultCenter]
postNotificationName:BDSKComputerNameChangedNotification object: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