diff --git a/Sparkle/Autoupdate/Autoupdate.m b/Sparkle/Autoupdate/Autoupdate.m index e6166702..860d35bd 100644 --- a/Sparkle/Autoupdate/Autoupdate.m +++ b/Sparkle/Autoupdate/Autoupdate.m @@ -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;