Revision: 21845 http://sourceforge.net/p/bibdesk/svn/21845 Author: hofman Date: 2018-02-08 16:15:26 +0000 (Thu, 08 Feb 2018) Log Message: ----------- invalidate too old client object in try block
Modified Paths: -------------- trunk/bibdesk/BDSKSharingServer.m Modified: trunk/bibdesk/BDSKSharingServer.m =================================================================== --- trunk/bibdesk/BDSKSharingServer.m 2018-02-08 07:30:32 UTC (rev 21844) +++ trunk/bibdesk/BDSKSharingServer.m 2018-02-08 16:15:26 UTC (rev 21845) @@ -698,7 +698,12 @@ // we don't register clients that have a version we don't support // version is [BDSKSharingClientServer supportedProtocolVersion] from the client if([version numericCompare:[BDSKSharingDOServer requiredProtocolVersion]] == NSOrderedAscending){ - [clientObject invalidate]; + @try { + [clientObject invalidate]; + } + @catch (id exception) { + NSLog(@"%@: ignoring exception \"%@\" raised while invalidating client %p", [self class], exception, clientObject); + } return; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Bibdesk-commit mailing list Bibdesk-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-commit