Skip to content

Commit

Permalink
Merge pull request #11 from tayloraswift/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
groue authored May 4, 2024
2 parents b92ec84 + a7fc7c5 commit ad48ff5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Semaphore/Documentation.docc/Documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class Downloader {

func download(...) async throws -> Data {
try await semaphore.waitUnlessCancelled()
defer { semaphore.signal }
defer { semaphore.signal() }
return try await ...
}
}
Expand Down

0 comments on commit ad48ff5

Please sign in to comment.