mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
Don't call GC or CC unexpectedly during shutdown (bug 635251, r/a=gal). (relanding in a CLOSED TREE)
This commit is contained in:
parent
355d67127f
commit
ee8057dfaa
@ -3365,8 +3365,6 @@ nsJSContext::PokeGC()
|
|||||||
|
|
||||||
if (!sGCTimer) {
|
if (!sGCTimer) {
|
||||||
NS_WARNING("Failed to create timer");
|
NS_WARNING("Failed to create timer");
|
||||||
|
|
||||||
GarbageCollectNow();
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3403,8 +3401,6 @@ nsJSContext::PokeCC()
|
|||||||
|
|
||||||
if (!sCCTimer) {
|
if (!sCCTimer) {
|
||||||
NS_WARNING("Failed to create timer");
|
NS_WARNING("Failed to create timer");
|
||||||
|
|
||||||
CycleCollectNow();
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user