Browse Source

Fix runtime exception

Felix Paul Kühne 9 years ago
parent
commit
2de6482968
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Sources/VLCOneDriveController.m

+ 1 - 1
Sources/VLCOneDriveController.m

@@ -101,7 +101,7 @@
     [_liveClient logoutWithDelegate:self userState:@"logout"];
 
     NSUbiquitousKeyValueStore *ubiquitousStore = [NSUbiquitousKeyValueStore defaultStore];
-    [ubiquitousStore delete:kVLCStoreOneDriveCredentials];
+    [ubiquitousStore removeObjectForKey:kVLCStoreOneDriveCredentials];
     [ubiquitousStore synchronize];
 
     _activeSession = NO;