mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 11:57:32 +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:
|
// Cleanup Indexed Database transactions:
|
||||||
// https://html.spec.whatwg.org/multipage/webappapis.html#perform-a-microtask-checkpoint
|
// https://html.spec.whatwg.org/multipage/webappapis.html#perform-a-microtask-checkpoint
|
||||||
CleanupIDBTransactions(RecursionDepth());
|
if(!mPendingIDBTransactions.IsEmpty()) {
|
||||||
|
CleanupIDBTransactions(RecursionDepth());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t
|
uint32_t
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue