mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 03:05:34 +00:00
Fixed shutdown crash found by warren
This commit is contained in:
parent
44047c7580
commit
dfbdc6f2a7
@ -195,6 +195,8 @@ nsThrobber::~nsThrobber()
|
|||||||
|
|
||||||
if (0 == --gNumThrobbers) {
|
if (0 == --gNumThrobbers) {
|
||||||
delete gThrobbers;
|
delete gThrobbers;
|
||||||
|
// Do this in case an event shows up later for the throbber...
|
||||||
|
gThrobbers = nsnull;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user