#49414 crash in exist when global ime exist

r/a=ftang
gAIMMApp->Deactivate() should be called before release. This is documented
in MS documentation and tested in 4.x code.


git-svn-id: svn://10.0.0.236/trunk@79809 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
shanjian%netscape.com
2000-09-22 02:54:28 +00:00
parent dd5e79acec
commit daaa82a806

View File

@@ -189,6 +189,7 @@ nsToolkit::~nsToolkit()
if (!nsToolkit::gAIMMCount) {
if(nsToolkit::gAIMMApp) {
nsToolkit::gAIMMApp->Deactivate();
nsToolkit::gAIMMApp->Release();
nsToolkit::gAIMMApp = NULL;
}