Bug 671792 - ASSERTION: ImmAssociateContextEx failed to restore default IMC. r=neil

This commit is contained in:
Brian R. Bondy 2011-08-25 11:19:56 -04:00
parent dd46a2cf6c
commit 9b144cc450

View File

@ -662,8 +662,8 @@ nsWindow::Create(nsIWidget *aParent,
// Close this nsWindow
NS_METHOD nsWindow::Destroy()
{
// WM_DESTROY has already fired, we're done.
if (nsnull == mWnd)
// WM_DESTROY has already fired, avoid calling it twice
if (mOnDestroyCalled)
return NS_OK;
// During the destruction of all of our children, make sure we don't get deleted.