Skip to content
Snippets Groups Projects
Commit 0c0344a7 authored by Kateryna Kostiuk's avatar Kateryna Kostiuk
Browse files

fix: avoid deleting objects two times

This patch fix crash that happens when quitting the app.
https://git.ring.cx/savoirfairelinux/ring-client-macosx/issues/156

Change-Id: Icec9562e80ce09feded17399327c535a98e0ef34
parent 7d44ab6f
No related branches found
No related tags found
No related merge requests found
......@@ -334,7 +334,7 @@ static void ReachabilityCallback(SCNetworkReachabilityRef __unused target, SCNet
- (void)handleQuitEvent:(NSAppleEventDescriptor*)event withReplyEvent:(NSAppleEventDescriptor*)replyEvent
{
[self cleanExit];
[[NSApplication sharedApplication] terminate:self];
}
-(void)applicationWillTerminate:(NSNotification *)notification
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment