mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 00:55:37 +00:00
Trigger all operation callbacks from triggerGC (follow-up for 580803).
This commit is contained in:
parent
7bc0fea77a
commit
4f316be253
@ -1975,7 +1975,7 @@ struct JSContext
|
||||
inline void triggerGC() {
|
||||
if (!runtime->gcIsNeeded) {
|
||||
runtime->gcIsNeeded = true;
|
||||
JS_TriggerOperationCallback(this);
|
||||
JS_TriggerAllOperationCallbacks(runtime);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user