1
0
mirror of https://github.com/immich-app/immich.git synced 2025-08-08 23:07:06 +02:00

fix: occasional empty buckets, after canceled loads (#17552)

This commit is contained in:
Min Idzelis
2025-04-13 08:50:24 -04:00
committed by GitHub
parent a373034629
commit 1f18fe31f0

View File

@ -61,6 +61,9 @@ export class CancellableTask {
try {
await f(cancelToken.signal);
if (cancelToken.signal.aborted) {
return 'CANCELED';
}
this.#transitionToExecuted();
return 'LOADED';
} catch (error) {