Skip to content

Commit cb21b0a

Browse files
committed
update doc
1 parent c331ae6 commit cb21b0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ghcide/src/Development/IDE/Main.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ defaultMain recorder Arguments{..} = withHeapStats (cmapWithPrio LogHeapStats re
366366
-- TODO: this is nuts, we're converting back to JSON just to get a fingerprint
367367
let cfgObj = J.toJSON cfg
368368
-- tryTakeMVar is essential here, as the MVar might be empty if the server is still starting up
369-
-- and it might be gone if the server is shutting down.
369+
-- and it might be gone if the server shut down.
370370
liftIO $ bracket (liftIO $ tryTakeMVar ideStateVar) (`whenJust` putMVar ideStateVar) $ \case
371371
Nothing -> pure ()
372372
Just ide -> liftIO $ do

0 commit comments

Comments
 (0)