mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
workaround of microtask cleanup to prevent a crash
This commit is contained in:
parent
80c4f1d745
commit
c75d50adde
1 changed files with 3 additions and 1 deletions
|
|
@ -1477,7 +1477,9 @@ CycleCollectedJSContext::AfterProcessMicrotasks()
|
|||
}
|
||||
// Cleanup Indexed Database transactions:
|
||||
// https://html.spec.whatwg.org/multipage/webappapis.html#perform-a-microtask-checkpoint
|
||||
CleanupIDBTransactions(RecursionDepth());
|
||||
if(!mPendingIDBTransactions.IsEmpty()) {
|
||||
CleanupIDBTransactions(RecursionDepth());
|
||||
}
|
||||
}
|
||||
|
||||
uint32_t
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue