Skip to content

Commit

Permalink
try fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
majocha committed Oct 28, 2024
1 parent 1ef5c8d commit 1867a20
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -474,8 +474,9 @@ type AsyncModule() =
let mutable running = new CountdownEvent(1)

let job i = async {
running.AddCount 1
use! holder = Async.OnCancel (running.Signal >> ignore)
use! holder =
running.AddCount 1
Async.OnCancel (running.Signal >> ignore)
do! failOnlyOne |> Async.AwaitWaitHandle |> Async.Ignore
running.Signal() |> ignore
failwith "boom"
Expand Down

0 comments on commit 1867a20

Please sign in to comment.