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 0907ca2 commit 0a7f4a7Copy full SHA for 0a7f4a7
lsp/src/Language/LSP/Server/Control.hs
@@ -135,7 +135,7 @@ runServerWith ioLogger logger clientIn clientOut serverDefinition = do
135
recvMsg
136
137
-- Bind all the threads together so that any of them terminating will terminate everything
138
- _ <- Async.withAsync serverOut $ \a1 ->
+ _ <- Async.withAsyncBound serverOut $ \a1 ->
139
Async.withAsync serverIn $ \a2 ->
140
Async.withAsync processingLoop $ \a3 ->
141
Async.waitAny [a1, a2, a3]
0 commit comments