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:
Mitchell Livingston 2007-08-13 01:55:15 +00:00
parent 91910be7fb
commit 8729aba95f
1 changed files with 1 additions and 2 deletions

View File

@ -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);
}
}