Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/FSharp.Control.AsyncSeq/AsyncSeq.fs
Original file line number Diff line number Diff line change
Expand Up @@ -1906,7 +1906,9 @@ module AsyncSeq =
use _ =
{ new IDisposable with
member __.Dispose() =
e.DisposeAsync().AsTask() |> Async.AwaitTask |> Async.RunSynchronously }
// Fire-and-forget: avoids Async.RunSynchronously which deadlocks
// on single-threaded runtimes such as Blazor WASM (see issue #152).
e.DisposeAsync() |> ignore }

let mutable currentResult = true
while currentResult do
Expand Down