File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
lsp/src/Language/LSP/Server Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -147,9 +147,9 @@ runServerWith ::
147147runServerWith ioLogger logger clientIn clientOut serverDefinition = do
148148 ioLogger <& Starting `WithSeverity ` Info
149149 cout <- atomically newTChan :: IO (TChan FromServerMessage )
150- withAsync (sendServer ioLogger cout clientOut) $ \ _sendAsync -> do
150+ withAsync (sendServer ioLogger cout clientOut) $ \ sendServerAsync -> do
151151 let sendMsg = atomically . writeTChan cout
152- res <- ioLoop ioLogger logger clientIn serverDefinition emptyVFS sendMsg (wait _sendAsync )
152+ res <- ioLoop ioLogger logger clientIn serverDefinition emptyVFS sendMsg (wait sendServerAsync )
153153 ioLogger <& ServerStopped `WithSeverity ` Info
154154 return res
155155
Original file line number Diff line number Diff line change @@ -761,7 +761,7 @@ isExiting = do
761761 b <- resExit . resState <$> getLspEnv
762762 r <- liftIO $ C. waitBarrierMaybe b
763763 pure $ case r of
764- Just _ -> True
764+ Just () -> True
765765 Nothing -> False
766766
767767-- | Blocks until the server receives a 'shutdown' request.
You can’t perform that action at this time.
0 commit comments