Bug 772345 - Fix Android segfault on shutdown. r=blassey

This commit is contained in:
Anthony Jones 2012-08-28 16:54:24 -04:00
parent b02595b1f5
commit 75054795ac

View File

@ -198,7 +198,7 @@ nsAppShell::nsAppShell()
nsAppShell::~nsAppShell()
{
gAppShell = nullptr;
delete sAfterPaintListener;
sAfterPaintListener = nullptr;
if (sPowerManagerService) {
sPowerManagerService->RemoveWakeLockListener(sWakeLockListener);