diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2022-04-01 12:04:15 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2022-04-05 14:26:58 +0200 |
| commit | db26112d184df12825c0855d77d9b35a1660bbcb (patch) | |
| tree | 24daac284f741f6f735991cc9889eda00d7e01ac /ios | |
| parent | 3805cc83b451eed03fb6feb315f54cf76d6d1098 (diff) | |
| download | mullvadvpn-db26112d184df12825c0855d77d9b35a1660bbcb.tar.xz mullvadvpn-db26112d184df12825c0855d77d9b35a1660bbcb.zip | |
ResultOperation: mark finish() unavailable
Diffstat (limited to 'ios')
| -rw-r--r-- | ios/MullvadVPN/Operations/ResultOperation.swift | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ios/MullvadVPN/Operations/ResultOperation.swift b/ios/MullvadVPN/Operations/ResultOperation.swift index ba2cd59c4e..3d9233ce2e 100644 --- a/ios/MullvadVPN/Operations/ResultOperation.swift +++ b/ios/MullvadVPN/Operations/ResultOperation.swift @@ -31,6 +31,7 @@ class ResultOperation<Success, Failure: Error>: AsyncOperation { super.init() } + @available(*, unavailable) override func finish() { // Propagate cancellation if finish() is called directly from start(). if isCancelled { |
