File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
ghcide/src/Development/IDE/Core Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -927,9 +927,9 @@ indexHieFile se mod_summary srcPath !hash hf = do
927
927
-- Using `finally`, so even if an exception happen during withHieDb call,
928
928
-- the the ending part of `reportProgress` (which clean the progress indicator) will still be called.
929
929
indexDoneB <- liftIO newBarrier
930
- withAsync (reportProgress indexDoneB optProgressStyle) $ \ preAsync ->
931
- flip finally (signalBarrier indexDoneB () ) $
932
- withHieDb (\ db -> HieDb. addRefsFromLoaded db targetPath (HieDb. RealFile $ fromNormalizedFilePath srcPath) hash hf')
930
+ _ <- async (reportProgress indexDoneB optProgressStyle)
931
+ flip finally (signalBarrier indexDoneB () ) $
932
+ withHieDb (\ db -> HieDb. addRefsFromLoaded db targetPath (HieDb. RealFile $ fromNormalizedFilePath srcPath) hash hf')
933
933
where
934
934
mod_location = ms_location mod_summary
935
935
targetPath = Compat. ml_hie_file mod_location
You can’t perform that action at this time.
0 commit comments