Trigger all operation callbacks from triggerGC (follow-up for 580803).

This commit is contained in:
Andreas Gal 2010-07-23 15:21:13 -07:00
parent 7bc0fea77a
commit 4f316be253

View File

@ -1975,7 +1975,7 @@ struct JSContext
inline void triggerGC() {
if (!runtime->gcIsNeeded) {
runtime->gcIsNeeded = true;
JS_TriggerOperationCallback(this);
JS_TriggerAllOperationCallbacks(runtime);
}
}