diff --git a/mozilla/xpfe/appshell/src/nsCommandLineServiceMac.cpp b/mozilla/xpfe/appshell/src/nsCommandLineServiceMac.cpp index 1dd0dbd2d7f..34eacfc4d7f 100644 --- a/mozilla/xpfe/appshell/src/nsCommandLineServiceMac.cpp +++ b/mozilla/xpfe/appshell/src/nsCommandLineServiceMac.cpp @@ -29,7 +29,6 @@ // Mozilla #include "nsFileSpec.h" #include "nsFileStream.h" -#include "nsAppleEvents.h" #include "nsDebug.h" #include "nsIAppShellService.h" #include "nsIServiceManager.h" @@ -72,6 +71,7 @@ nsMacCommandLine::nsMacCommandLine() nsMacCommandLine::~nsMacCommandLine() //---------------------------------------------------------------------------------------- { + ShutdownAEHandlerClasses(); } diff --git a/mozilla/xpfe/components/startup/src/nsCommandLineServiceMac.cpp b/mozilla/xpfe/components/startup/src/nsCommandLineServiceMac.cpp index 1dd0dbd2d7f..34eacfc4d7f 100644 --- a/mozilla/xpfe/components/startup/src/nsCommandLineServiceMac.cpp +++ b/mozilla/xpfe/components/startup/src/nsCommandLineServiceMac.cpp @@ -29,7 +29,6 @@ // Mozilla #include "nsFileSpec.h" #include "nsFileStream.h" -#include "nsAppleEvents.h" #include "nsDebug.h" #include "nsIAppShellService.h" #include "nsIServiceManager.h" @@ -72,6 +71,7 @@ nsMacCommandLine::nsMacCommandLine() nsMacCommandLine::~nsMacCommandLine() //---------------------------------------------------------------------------------------- { + ShutdownAEHandlerClasses(); }