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(
77
77
) where
78
78
79
79
import Control.Concurrent.Async
80
+ import Control.Concurrent.Extra (signalBarrier )
80
81
import Control.Concurrent.STM
81
82
import Control.Concurrent.STM (writeTQueue )
82
83
import Control.Concurrent.STM.Stats (atomicallyNamed )
@@ -174,7 +175,6 @@ import qualified StmContainers.Map as STM
174
175
import System.FilePath hiding (makeRelative )
175
176
import System.IO.Unsafe (unsafePerformIO )
176
177
import System.Time.Extra
177
- import Control.Concurrent.Extra (signalBarrier )
178
178
-- See Note [Guidelines For Using CPP In GHCIDE Import Statements]
179
179
180
180
#if !MIN_VERSION_ghc(9,3,0)
@@ -766,8 +766,8 @@ shakeRestart recorder IdeState{..} vfs reason acts ioActionBetweenShakeSession =
766
766
withMVar'
767
767
shakeSession
768
768
(\ runner -> do
769
- signalBarrier barrier ()
770
769
(stopTime,() ) <- duration $ logErrorAfter 10 $ cancelShakeSession runner
770
+ signalBarrier barrier ()
771
771
keys <- ioActionBetweenShakeSession
772
772
atomically $ modifyTVar' (dirtyKeys shakeExtras) $ \ x -> foldl' (flip insertKeySet) x keys
773
773
res <- shakeDatabaseProfile shakeDb
You can’t perform that action at this time.
0 commit comments