Fix the currentOperation cancel may not clear the weak reference and cause issues (indicator check failed)

This commit is contained in:
DreamPiggy 2019-11-02 17:14:26 +08:00
parent d57fdbb37c
commit 061853f4aa
1 changed files with 1 additions and 0 deletions

View File

@ -81,6 +81,7 @@ class ImageManager : ObservableObject {
func cancel() {
currentOperation?.cancel()
currentOperation = nil
}
}