Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Updates Logout Verification #622

Merged
merged 9 commits into from
Aug 17, 2021
7 changes: 1 addition & 6 deletions Simperium/Simperium.m
Original file line number Diff line number Diff line change
Expand Up @@ -587,12 +587,7 @@ - (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sende
#pragma mark ====================================================================================

- (void)signOutAndRemoveLocalData:(BOOL)remove completion:(SimperiumSignoutCompletion)completion {

// Don't proceed, if the user isn't logged in
if (!self.user.authenticated) {
return;
}


if (self.logoutInProgress) {
SPLogError(@"Error: Simperium is already logging out");
return;
Expand Down