diff --git a/OCLP-Helper/main.m b/OCLP-Helper/main.m index 4a5cccd..2a7c8bf 100644 --- a/OCLP-Helper/main.m +++ b/OCLP-Helper/main.m @@ -11,6 +11,9 @@ int main(int argc, const char * argv[]) { @autoreleasepool { + // Ensure we don't exit on parent process exit + setpgid(0, 0); + NSApplication * app = [NSApplication sharedApplication]; Handler *h = [[Handler alloc] init]; [app setDelegate:h];