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 e665e79
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -474,8 +474,8 @@ type AsyncModule() =
let mutable running = new CountdownEvent(1)

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

0 comments on commit e665e79

Please sign in to comment.