Fix standalone AbortSignal

This commit is contained in:
awsr
2026-01-29 02:19:27 -08:00
parent 9e9e1e2236
commit a74b1f53a9
+1 -1
View File
@@ -1256,7 +1256,7 @@ async function galleryClearInit() {
async function blockQueueUntilReady() {
// Add block to maintenanceQueue until cache is ready
maintenanceQueue.enqueue({
signal: new AbortSignal(), // Use standalone AbortSignal that can't be aborted
signal: new AbortController().signal, // Use standalone AbortSignal that can't be aborted
callback: async () => {
let timeout = 0;
while (!idbIsReady() && timeout++ < 60) {