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 1b32337 commit 8d69ae0Copy full SHA for 8d69ae0
Sources/Testing/Support/Locked.swift
@@ -140,7 +140,7 @@ extension Locked {
140
return nil
141
}
142
#endif
143
- try _storage.mutex.withLockIfAvailable { rawValue in
+ return try _storage.mutex.withLockIfAvailable { rawValue in
144
#if os(Linux) || os(Android)
145
_storage.owningThreadID.store(tid, ordering: .sequentiallyConsistent)
146
defer {
0 commit comments