Fix the currentOperation cancel may not clear the weak reference and cause issues (indicator check failed)
This commit is contained in:
parent
d57fdbb37c
commit
061853f4aa
|
@ -81,6 +81,7 @@ class ImageManager : ObservableObject {
|
|||
|
||||
func cancel() {
|
||||
currentOperation?.cancel()
|
||||
currentOperation = nil
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue