From dfbdc6f2a7d714e87de8394ceccc5386cc580677 Mon Sep 17 00:00:00 2001 From: "kipp%netscape.com" Date: Mon, 27 Sep 1999 16:33:05 +0000 Subject: [PATCH] Fixed shutdown crash found by warren --- webshell/tests/viewer/nsThrobber.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webshell/tests/viewer/nsThrobber.cpp b/webshell/tests/viewer/nsThrobber.cpp index 11867a85f8cc..c0ee454aee64 100644 --- a/webshell/tests/viewer/nsThrobber.cpp +++ b/webshell/tests/viewer/nsThrobber.cpp @@ -195,6 +195,8 @@ nsThrobber::~nsThrobber() if (0 == --gNumThrobbers) { delete gThrobbers; + // Do this in case an event shows up later for the throbber... + gThrobbers = nsnull; } }