Merge pull request #526 from zorgiepoo/arc-autoupdate-release

Ensure termListen is not deallocated before -[NSRunningApplication run]
This commit is contained in:
Kornel committed 2015-04-18 18:47:28 +01:00
commit 509df736bc
1 file changed
+2 -2
+2 -2
View File
@@ -205,9 +205,9 @@ int main(int __unused argc, const char __unused *argv[])
shouldShowUI:shouldShowUI
selfPath:[[NSBundle mainBundle] bundlePath]];
[termListen class];
[[NSApplication sharedApplication] run];
// Ensure termListen is not deallocated by ARC before caling -[NSApplication run]
[termListen class];
}
return EXIT_SUCCESS;