File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ghcide/src/Development/IDE/Core Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ module Development.IDE.Core.Shake(
7777 ) where
7878
7979import Control.Concurrent.Async
80+ import Control.Concurrent.Extra (signalBarrier )
8081import Control.Concurrent.STM
8182import Control.Concurrent.STM (writeTQueue )
8283import Control.Concurrent.STM.Stats (atomicallyNamed )
@@ -174,7 +175,6 @@ import qualified StmContainers.Map as STM
174175import System.FilePath hiding (makeRelative )
175176import System.IO.Unsafe (unsafePerformIO )
176177import System.Time.Extra
177- import Control.Concurrent.Extra (signalBarrier )
178178-- See Note [Guidelines For Using CPP In GHCIDE Import Statements]
179179
180180#if !MIN_VERSION_ghc(9,3,0)
@@ -766,8 +766,8 @@ shakeRestart recorder IdeState{..} vfs reason acts ioActionBetweenShakeSession =
766766 withMVar'
767767 shakeSession
768768 (\ runner -> do
769- signalBarrier barrier ()
770769 (stopTime,() ) <- duration $ logErrorAfter 10 $ cancelShakeSession runner
770+ signalBarrier barrier ()
771771 keys <- ioActionBetweenShakeSession
772772 atomically $ modifyTVar' (dirtyKeys shakeExtras) $ \ x -> foldl' (flip insertKeySet) x keys
773773 res <- shakeDatabaseProfile shakeDb
You can’t perform that action at this time.
0 commit comments