X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fghci%2FInteractiveUI.hs;h=6f9c2248be851b4d66cdef3cf26c4920c546f4fd;hb=ee7fcd7239ebb5b301e075034a8ff700cd5f40c9;hp=896728b46ea2a156931a5422e565e1547a79f22a;hpb=e1ca71716cd40aecf23f572e661e0285dd1b8b3a;p=ghc-hetmet.git diff --git a/compiler/ghci/InteractiveUI.hs b/compiler/ghci/InteractiveUI.hs index 896728b..6f9c224 100644 --- a/compiler/ghci/InteractiveUI.hs +++ b/compiler/ghci/InteractiveUI.hs @@ -1053,6 +1053,7 @@ loadModule' files = do prev_context <- io $ GHC.getContext session -- unload first + io $ GHC.abandonAll session discardActiveBreakPoints io (GHC.setTargets session []) io (GHC.load session LoadAllTargets)