We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ccf528 commit 7b78036Copy full SHA for 7b78036
1 file changed
TableProMobile/TableProMobile/SSH/SSHTunnel.swift
@@ -13,6 +13,8 @@ final class AliveFlag: Sendable {
13
private let _lock = NSLock()
14
private nonisolated(unsafe) var _value = true
15
16
+ nonisolated init() {}
17
+
18
nonisolated var value: Bool {
19
get { _lock.lock(); defer { _lock.unlock() }; return _value }
20
set { _lock.lock(); _value = newValue; _lock.unlock() }
0 commit comments