Skip to content

Commit a7b1303

Browse files
majochapsfinaki
andauthored
potential OCE in graph processsing (#17921)
Co-authored-by: Petr <[email protected]>
1 parent 3940e0d commit a7b1303

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Compiler/Driver/GraphChecking/GraphProcessing.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ let processGraphAsync<'Item, 'Result when 'Item: equality and 'Item: comparison>
252252
let rec queueNode node =
253253
Async.Start(
254254
async {
255+
use! _catch = Async.OnCancel(completionSignal.TrySetCanceled >> ignore)
255256
let! res = processNode node |> Async.Catch
256257

257258
match res with

0 commit comments

Comments
 (0)