Skip to content

Commit fbacea5

Browse files
committed
propogate cancellation tokens to reactor queue (fix)
1 parent 1fd23c6 commit fbacea5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fsharp/vs/ServiceDeclarations.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1281,7 +1281,7 @@ type FSharpDeclarationListItem(name, glyph:int, info) =
12811281
match info with
12821282
| Choice1Of2 (items, infoReader, m, denv, reactor:IReactorOperations, checkAlive) ->
12831283
// reactor causes the lambda to execute on the background compiler thread, through the Reactor
1284-
reactor.EnqueueAndAwaitOpAsync ("DescriptionTextAsync", fun () ->
1284+
reactor.EnqueueAndAwaitOpAsync ("DescriptionTextAsync", fun _ct ->
12851285
// This is where we do some work which may touch TAST data structures owned by the IncrementalBuilder - infoReader, item etc.
12861286
// It is written to be robust to a disposal of an IncrementalBuilder, in which case it will just return the empty string.
12871287
// It is best to think of this as a "weak reference" to the IncrementalBuilder, i.e. this code is written to be robust to its

0 commit comments

Comments
 (0)