File tree 2 files changed +8
-8
lines changed
Coder Desktop/Coder Desktop
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -168,12 +168,12 @@ class SystemExtensionDelegate<AsyncDelegate: SystemExtensionAsyncRecorder>:
168
168
) {
169
169
// In debug builds we always replace the SE to test
170
170
// changes made without bumping the version
171
- #if DEBUG
172
- Task { [ asyncDelegate] in
173
- await asyncDelegate. recordSystemExtensionState ( . uninstalled)
174
- }
175
- return
176
- #else
171
+ #if DEBUG
172
+ Task { [ asyncDelegate] in
173
+ await asyncDelegate. recordSystemExtensionState ( . uninstalled)
174
+ }
175
+ return
176
+ #else
177
177
let version = Bundle . main. object ( forInfoDictionaryKey: " CFBundleVersion " ) as? String
178
178
let shortVersion = Bundle . main. object ( forInfoDictionaryKey: " CFBundleShortVersionString " ) as? String
179
179
@@ -193,6 +193,6 @@ class SystemExtensionDelegate<AsyncDelegate: SystemExtensionAsyncRecorder>:
193
193
Task { [ asyncDelegate] in
194
194
await asyncDelegate. recordSystemExtensionState ( . uninstalled)
195
195
}
196
- #endif
196
+ #endif
197
197
}
198
198
}
Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ extension CoderVPNService {
220
220
case . connected:
221
221
// If we moved from disabled to connected, then the NE was already
222
222
// running, and we need to request the current peer state
223
- if self . tunnelState == . disabled {
223
+ if tunnelState == . disabled {
224
224
xpc. getPeerState ( )
225
225
}
226
226
tunnelState = . connected
You can’t perform that action at this time.
0 commit comments