We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91af6e8 commit afbe8e0Copy full SHA for afbe8e0
src/fsharp/CompilerImports.fs
@@ -707,11 +707,9 @@ type TcImportsSafeDisposal
707
if verbose then
708
dprintf "disposing of TcImports, %d binaries\n" disposeActions.Count
709
#if !NO_EXTENSIONTYPING
710
- async {
711
- let actions = disposeTypeProviderActions
712
- if actions.Count > 0 then
713
- TypeProviderLock.Singleton.AcquireLock(fun _ -> for action in actions do action())
714
- } |> Async.Start // Make this async so we do not block dispose
+ let actions = disposeTypeProviderActions
+ if actions.Count > 0 then
+ TypeProviderLock.Singleton.AcquireLock(fun _ -> for action in actions do action())
715
#endif
716
for action in disposeActions do action()
717
0 commit comments