Attempt to fix bsmedberg's OS/2 bustage from bug 237745.
git-svn-id: svn://10.0.0.236/trunk@164666 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
2a81ce3d4f
commit
76ea752fd1
@ -2460,10 +2460,10 @@ nsNativeAppSupportOS2::OnLastWindowClosing() {
|
||||
profileCount > 1 ) {
|
||||
// Turn off turbo mode and quit the application.
|
||||
SetIsServerMode( PR_FALSE );
|
||||
nsCOMPtr<nsIAppStartup> appShell
|
||||
nsCOMPtr<nsIAppStartup> appStartup
|
||||
(do_GetService(NS_APPSTARTUP_CONTRACTID, &rv));
|
||||
if ( NS_SUCCEEDED( rv ) ) {
|
||||
appShell->Quit(nsIAppShellService::eAttemptQuit);
|
||||
appStartup->Quit(nsIAppStartup::eAttemptQuit);
|
||||
}
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user