Skip to content

Commit

Permalink
Try bound?
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelpj committed Jun 20, 2022
1 parent 0907ca2 commit 0a7f4a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lsp/src/Language/LSP/Server/Control.hs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ runServerWith ioLogger logger clientIn clientOut serverDefinition = do
recvMsg

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

0 comments on commit 0a7f4a7

Please sign in to comment.