mac: Release application delegate on exit
This commit is contained in:
parent
0e94977d42
commit
6aa69a06c8
1 changed files with 2 additions and 1 deletions
|
@ -41,7 +41,8 @@ void AtomBrowserMainParts::PreMainMessageLoopStart() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void AtomBrowserMainParts::PostDestroyThreads() {
|
void AtomBrowserMainParts::PostDestroyThreads() {
|
||||||
[[AtomApplication sharedApplication] setDelegate:nil];
|
[[NSApp delegate] release];
|
||||||
|
[NSApp setDelegate:nil];
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace atom
|
} // namespace atom
|
||||||
|
|
Loading…
Reference in a new issue