Permalink
Browse files

Removed the client deregistration code from the pairing code controll…

…er's **Cancel** method as the client will not have been registered at that point in the workflow
  • Loading branch information...
1 parent 0c98946 commit 7c7cdcb5abb3fd518135c6bed92cc44ee06a46e2 Michael Fey committed Aug 30, 2010
Showing with 0 additions and 6 deletions.
  1. +0 −6 DesktopCode/ZSyncConnectionDelegate.m
@@ -333,12 +333,6 @@ - (void)pairingCodeWindowControllerCancelled:(PairingCodeWindowController *)cont
NSMutableDictionary *dictionary = [NSMutableDictionary dictionary];
[dictionary setValue:zsActID(zsActionCancelPairing) forKey:zsAction];
- NSString *clientIdentifier = [syncApplication valueForKey:@"uuid"];
- DLog(@"%s clientID %@", __PRETTY_FUNCTION__, clientIdentifier);
- ISyncClient *syncClient = [[ISyncManager sharedManager] clientWithIdentifier:clientIdentifier];
- ZAssert(syncClient != nil, @"Sync Client not found");
- [[ISyncManager sharedManager] unregisterClient:syncClient];
-
BLIPRequest *request = [BLIPRequest requestWithBody:nil properties:dictionary];
[[self connection] sendRequest:request];
[[codeController window] orderOut:nil];

0 comments on commit 7c7cdcb

Please sign in to comment.