Commit 0c0344a7 authored by Kateryna Kostiuk's avatar Kateryna Kostiuk

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
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment