when opening multiple copies of the app, after the warning don't make the first copy active (in case that copy has been quit in between checking and responding to the dialog)
This commit is contained in:
parent
91910be7fb
commit
8729aba95f
|
@ -124,8 +124,7 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
|
|||
[alert runModal];
|
||||
[alert release];
|
||||
|
||||
//activate the already running instance, then kill ourselves right away
|
||||
[[NSWorkspace sharedWorkspace] launchApplication: [dic objectForKey: @"NSApplicationPath"]];
|
||||
//kill ourselves right away
|
||||
exit(0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue