[project @ 2001-01-31 12:40:51 by simonmar]
authorsimonmar <unknown>
Wed, 31 Jan 2001 12:40:51 +0000 (12:40 +0000)
committersimonmar <unknown>
Wed, 31 Jan 2001 12:40:51 +0000 (12:40 +0000)
Throw away linkables in cmUnload, as well as interfaces.

ghc/compiler/compMan/CompManager.lhs

index 9948d3d..7e5766c 100644 (file)
@@ -144,7 +144,7 @@ cmUnload state
  = do -- Throw away the old home dir cache
       emptyHomeDirCache
       -- Throw away the HIT and the HST
-      return state{ hst=new_hst, hit=new_hit }
+      return state{ hst=new_hst, hit=new_hit, ui=emptyUI }
    where
      CmState{ hst=hst, hit=hit } = state
      (new_hst, new_hit) = retainInTopLevelEnvs [] (hst,hit)