You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix space leak where EPS retained HPTs from old HscEnv
The issue here is that the `ModuleGraph` value is not forced eagerly, so
the EPS ends up loading an interface file for an external package and
retains a stale reference to the old HPT for the rest of the session.
The heap should always satisfy the invariant that no HomeModInfo are
reachable via the EPS.
See GHC issue #20509 for something similar.
0 commit comments