diff --git a/Sparkle/Autoupdate/Autoupdate.m b/Sparkle/Autoupdate/Autoupdate.m index 9d8e461a..81113375 100644 --- a/Sparkle/Autoupdate/Autoupdate.m +++ b/Sparkle/Autoupdate/Autoupdate.m @@ -204,9 +204,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;