mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Don't call GC or CC unexpectedly during shutdown (bug 635251, r/a=gal).
This commit is contained in:
parent
faec8b99c2
commit
7a55b17c88
@ -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