Bug 53952; replace DDE client to prevent being blocked by ill-behaved applications; r=cathleen, sr=alecf

git-svn-id: svn://10.0.0.236/trunk@94977 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
law%netscape.com
2001-05-15 10:32:51 +00:00
parent f3be9f08c8
commit e75d1e41cb
2 changed files with 205 additions and 101 deletions

View File

@@ -429,6 +429,13 @@ nsAppShellService::Quit()
if (! mShuttingDown) {
mShuttingDown = PR_TRUE;
// Shutdown native app support; doing this first will prevent new
// requests to open additional windows coming in.
if ( mNativeAppSupport ) {
mNativeAppSupport->Quit();
mNativeAppSupport = 0;
}
// Enumerate through each open window and close it
if (mWindowMediator) {
nsCOMPtr<nsISimpleEnumerator> windowEnumerator;