Revision: 21846
          http://sourceforge.net/p/bibdesk/svn/21846
Author:   hofman
Date:     2018-02-08 16:20:22 +0000 (Thu, 08 Feb 2018)
Log Message:
-----------
also invalidate connection when rejecting sharing client

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

Modified: trunk/bibdesk/BDSKSharingServer.m
===================================================================
--- trunk/bibdesk/BDSKSharingServer.m   2018-02-08 16:15:26 UTC (rev 21845)
+++ trunk/bibdesk/BDSKSharingServer.m   2018-02-08 16:20:22 UTC (rev 21846)
@@ -704,6 +704,12 @@
         @catch (id exception) {
             NSLog(@"%@: ignoring exception \"%@\" raised while invalidating 
client %p", [self class], exception, clientObject);
         }
+        @try {
+            [[clientObject connectionForProxy] invalidate];
+        }
+        @catch (id exception) {
+            NSLog(@"%@: ignoring exception \"%@\" raised while invalidating 
connection to 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

Reply via email to