Revert "workaround of microtask cleanup to prevent a crash"

This reverts commit c75d50adde.
This commit is contained in:
roytam1 2024-01-18 10:16:55 +08:00
commit 500c2ab8d9

View file

@ -1477,9 +1477,7 @@ CycleCollectedJSContext::AfterProcessMicrotasks()
}
// Cleanup Indexed Database transactions:
// https://html.spec.whatwg.org/multipage/webappapis.html#perform-a-microtask-checkpoint
if(!mPendingIDBTransactions.IsEmpty()) {
CleanupIDBTransactions(RecursionDepth());
}
CleanupIDBTransactions(RecursionDepth());
}
uint32_t