Skip to content

Commit 0a7f4a7

Browse files
committed
Try bound?
1 parent 0907ca2 commit 0a7f4a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lsp/src/Language/LSP/Server/Control.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ runServerWith ioLogger logger clientIn clientOut serverDefinition = do
135135
recvMsg
136136

137137
-- Bind all the threads together so that any of them terminating will terminate everything
138-
_ <- Async.withAsync serverOut $ \a1 ->
138+
_ <- Async.withAsyncBound serverOut $ \a1 ->
139139
Async.withAsync serverIn $ \a2 ->
140140
Async.withAsync processingLoop $ \a3 ->
141141
Async.waitAny [a1, a2, a3]

0 commit comments

Comments
 (0)