未验证 提交 afbe8e07 编写于 作者: W Will Smith 提交者: GitHub

Update CompilerImports.fs

上级 91af6e8d
......@@ -707,11 +707,9 @@ type TcImportsSafeDisposal
if verbose then
dprintf "disposing of TcImports, %d binaries\n" disposeActions.Count
#if !NO_EXTENSIONTYPING
async {
let actions = disposeTypeProviderActions
if actions.Count > 0 then
TypeProviderLock.Singleton.AcquireLock(fun _ -> for action in actions do action())
} |> 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())
#endif
for action in disposeActions do action()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册