mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
fix: don't clear cachedOperation in whenComplete listener
This commit is contained in:
@@ -45,7 +45,6 @@ mixin CancellableImageProviderMixin<T extends Object> on CancellableImageProvide
|
|||||||
|
|
||||||
completer.operation.valueOrCancellation().whenComplete(() {
|
completer.operation.valueOrCancellation().whenComplete(() {
|
||||||
cachedStream.removeListener(listener);
|
cachedStream.removeListener(listener);
|
||||||
cachedOperation = null;
|
|
||||||
});
|
});
|
||||||
cachedOperation = completer.operation;
|
cachedOperation = completer.operation;
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user