#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:
@@ -189,6 +189,7 @@ nsToolkit::~nsToolkit()
|
||||
|
||||
if (!nsToolkit::gAIMMCount) {
|
||||
if(nsToolkit::gAIMMApp) {
|
||||
nsToolkit::gAIMMApp->Deactivate();
|
||||
nsToolkit::gAIMMApp->Release();
|
||||
nsToolkit::gAIMMApp = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user