Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Commit b818cfa

Browse files
authored
Merge pull request #1292 from bubba/fix-part-memory-leak
Fix UriCaches being leaked
2 parents 30908ee + 4d179a9 commit b818cfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hie-plugin-api/Haskell/Ide/Engine/PluginsIdeMonads.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ withIndefiniteProgress t c f = do
455455
Just wp -> control $ \run -> wp t c (run f)
456456

457457
data IdeState = IdeState
458-
{ moduleCache :: GhcModuleCache
458+
{ moduleCache :: !GhcModuleCache
459459
-- | A queue of requests to be performed once a module is loaded
460460
, requestQueue :: Map.Map FilePath [UriCacheResult -> IdeM ()]
461461
, extensibleState :: !(Map.Map TypeRep Dynamic)

0 commit comments

Comments
 (0)