summaryrefslogtreecommitdiffhomepage
path: root/ios
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2022-03-28 14:40:05 +0200
committerAndrej Mihajlov <and@mullvad.net>2022-03-31 14:39:43 +0200
commit3eb84b08a61e665852048b33ea7204b224fda0fb (patch)
treee604420e8178886c3e767482fb2d336cb0cd16fe /ios
parent5507c5f48b9bed77e795d933382b778a79c51cf0 (diff)
downloadmullvadvpn-3eb84b08a61e665852048b33ea7204b224fda0fb.tar.xz
mullvadvpn-3eb84b08a61e665852048b33ea7204b224fda0fb.zip
AsyncOperation: drop operationDidFinish()
Diffstat (limited to 'ios')
-rw-r--r--ios/MullvadVPN/Operations/AsyncOperation.swift6
1 files changed, 0 insertions, 6 deletions
diff --git a/ios/MullvadVPN/Operations/AsyncOperation.swift b/ios/MullvadVPN/Operations/AsyncOperation.swift
index cd2ce01702..62d8968180 100644
--- a/ios/MullvadVPN/Operations/AsyncOperation.swift
+++ b/ios/MullvadVPN/Operations/AsyncOperation.swift
@@ -84,17 +84,11 @@ class AsyncOperation: Operation {
didChangeValue(for: \.isFinished)
stateLock.unlock()
-
- operationDidFinish()
} else {
stateLock.unlock()
}
}
- func operationDidFinish() {
- // Override in subclasses
- }
-
private func setExecuting(_ value: Bool) {
willChangeValue(for: \.isExecuting)
_isExecuting = value