File tree 1 file changed +5
-1
lines changed
ghcide/src/Development/IDE/Core
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -588,12 +588,16 @@ shakeSessionInit IdeState{..} = do
588
588
putMVar shakeSession initSession
589
589
590
590
shakeShut :: IdeState -> IO ()
591
- shakeShut IdeState {.. } = withMVar shakeSession $ \ runner -> do
591
+ shakeShut ide @ IdeState {.. } = withMVar shakeSession $ \ runner -> do
592
592
-- Shake gets unhappy if you try to close when there is a running
593
593
-- request so we first abort that.
594
+ liftIO $ logDebug (ideLogger ide) " cancelShakeSession"
594
595
void $ cancelShakeSession runner
596
+ liftIO $ logDebug (ideLogger ide) " shakeDatabaseProfile"
595
597
void $ shakeDatabaseProfile shakeDb
598
+ liftIO $ logDebug (ideLogger ide) " shakeStop"
596
599
shakeClose
600
+ liftIO $ logDebug (ideLogger ide) " progressStop"
597
601
progressStop $ progress shakeExtras
598
602
599
603
You can’t perform that action at this time.
0 commit comments