diff --git a/mozilla/xpfe/appshell/src/nsAppShellService.cpp b/mozilla/xpfe/appshell/src/nsAppShellService.cpp index 70940dc4655..b9e0f124d87 100644 --- a/mozilla/xpfe/appshell/src/nsAppShellService.cpp +++ b/mozilla/xpfe/appshell/src/nsAppShellService.cpp @@ -164,7 +164,10 @@ nsAppShellService::DispatchNativeEvent(void * aEvent) NS_IMETHODIMP nsAppShellService::Shutdown(void) { - //mAppShell->Exit(); + +#if 1 + mAppShell->Exit(); +#else while (mWindowList->Count() > 0) { nsISupports * winSupports = mWindowList->ElementAt(0); nsCOMPtr window(do_QueryInterface(winSupports)); @@ -185,6 +188,7 @@ nsAppShellService::Shutdown(void) break; } } +#endif return NS_OK; }