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:
dbaron%dbaron.org 2004-10-30 08:32:40 +00:00
parent 2a81ce3d4f
commit 76ea752fd1

View File

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