Skip to content

Commit

Permalink
Merge pull request #716 from Quick/8.x-fix-spm-build
Browse files Browse the repository at this point in the history
[8.x] Fix hanging toEventually when build with swift package manager (SPM)
  • Loading branch information
ikesyo committed Dec 15, 2019
2 parents cc7b699 + 7226ec1 commit 12d1e15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Nimble/Utils/Await.swift
Expand Up @@ -98,7 +98,7 @@ internal enum AwaitResult<T> {

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

Expand Down

0 comments on commit 12d1e15

Please sign in to comment.