Skip to content

Commit 12d1e15

Browse files
authored
Merge pull request #716 from Quick/8.x-fix-spm-build
[8.x] Fix hanging toEventually when build with swift package manager (SPM)
2 parents cc7b699 + 7226ec1 commit 12d1e15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Nimble/Utils/Await.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ internal enum AwaitResult<T> {
9898

9999
/// Holds the resulting value from an asynchronous expectation.
100100
/// This class is thread-safe at receiving an "response" to this promise.
101-
internal class AwaitPromise<T> {
101+
internal final class AwaitPromise<T> {
102102
private(set) internal var asyncResult: AwaitResult<T> = .incomplete
103103
private var signal: DispatchSemaphore
104104

0 commit comments

Comments
 (0)