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

This commit is contained in:
Oleg Romashin 2010-04-22 19:29:18 -04:00
Родитель b729e295a5
Коммит 13e099b9ef
2 изменённых файлов: 2 добавлений и 3 удалений

Просмотреть файл

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

Просмотреть файл

@ -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