Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit64eb7dc

Browse files
dsymedsyme
dsyme
authored and
dsyme
committed
prevent endless async loop on Receive
1 parent83ce885 commit64eb7dc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎src/fsharp/FSharp.Core/control.fs‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2084,9 +2084,8 @@ namespace Microsoft.FSharp.Control
20842084
// If it isn't, then create it, and go back to the start to
20852085
// check arrivals again.
20862086
match pulsewith
2087-
|null->
2088-
if timeout>=0|| cancellationSupportedthen
2089-
ensurePulse()|> ignore
2087+
|nullwhen timeout>=0|| cancellationSupported->
2088+
ensurePulse()|> ignore
20902089
return! processFirstArrival()
20912090
|_->
20922091
// Wait until we have been notified about a message. When that happens, rescan the arrivals

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp