You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`Failed to reset database '${dbName}'. Error: ${error?.message||'Unknown error'}`,
363
+
),
364
+
);
365
+
};
366
+
367
+
request.onblocked=(event)=>{
368
+
// 当其他打开的连接阻止数据库删除时,会触发此事件
369
+
console.warn(
370
+
`Deletion of database '${dbName}' is blocked. This usually means other connections (e.g., in other tabs) are still open. Event:`,
371
+
event,
372
+
);
373
+
reject(
374
+
newError(
375
+
`Failed to reset database '${dbName}' because it is blocked by other open connections. Please close other tabs or applications using this database and try again.`,
0 commit comments