Revert "workaround of microtask cleanup to prevent a crash"

This reverts commit 0676addc6e.
This commit is contained in:
2024-01-18 10:28:54 +08:00
parent 0676addc6e
commit a6773ed0d0
+1 -3
View File
@@ -1504,9 +1504,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