High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix: occasional empty buckets, after canceled loads (#17552)
Min Idzelis1f18fe31f094
diff --git a/web/src/lib/utils/cancellable-task.ts b/web/src/lib/utils/cancellable-task.tsindex 412639af4b..168e3e9199 100644--- a/web/src/lib/utils/cancellable-task.ts+++ b/web/src/lib/utils/cancellable-task.ts@@ -61,6 +61,9 @@ export class CancellableTask {try {await f(cancelToken.signal);+ if (cancelToken.signal.aborted) {+ return 'CANCELED';+ }this.#transitionToExecuted();return 'LOADED';} catch (error) {