Bug 561061 - qt fennec crashes on close. r=dougt.

This commit is contained in:
Oleg Romashin 2010-04-22 19:29:18 -04:00
parent 87c511839e
commit cff0a5943d
2 changed files with 2 additions and 3 deletions

View File

@ -378,9 +378,6 @@ TabChild::~TabChild()
JS_DestroyContext(mCx);
}
}
#ifdef MOZ_WIDGET_QT
nsQAppInstance::Release();
#endif
}
NS_IMETHODIMP

View File

@ -45,6 +45,7 @@
#include <qabstracteventdispatcher.h>
#include "prenv.h"
#include "nsQAppInstance.h"
#ifdef MOZ_LOGGING
#define FORCE_PR_LOG
@ -62,6 +63,7 @@ static int sPokeEvent;
nsAppShell::~nsAppShell()
{
nsQAppInstance::Release();
}
nsresult