mirror of
https://github.com/zotero/zotero.git
synced 2026-09-28 01:31:40 +00:00
Previously, we simply cleared the queue, leaving any pending promises unresolved, and we checked for isResolved()/isPending() in storageEngine.js (and maybe other places). storageEngine.js was changed to simply await those promises, but that results in a hang if the queue is stopped, since the promises were never resolved. Instead, when stopping the queue, reject queued promises with a CanceledException and ignore those promises in storageEngine.js. |
||
|---|---|---|
| .. | ||
| scaffold | ||
| zotero | ||
| zotero-platform | ||