Skip to content

Commit

Permalink
potential OCE in graph processsing (#17921)
Browse files Browse the repository at this point in the history
Co-authored-by: Petr <psfinaki@users.noreply.github.com>
  • Loading branch information
majocha and psfinaki authored Oct 25, 2024
1 parent 3940e0d commit a7b1303
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Compiler/Driver/GraphChecking/GraphProcessing.fs
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ let processGraphAsync<'Item, 'Result when 'Item: equality and 'Item: comparison>
let rec queueNode node =
Async.Start(
async {
use! _catch = Async.OnCancel(completionSignal.TrySetCanceled >> ignore)
let! res = processNode node |> Async.Catch

match res with
Expand Down

0 comments on commit a7b1303

Please sign in to comment.