Commit 0ccda78f authored by krasimir's avatar krasimir
Browse files

[project @ 2005-04-12 16:40:16 by krasimir]

initDynLinker is invoked from unload now. This makes safe to call it even when
then linker is still not initialized.
parent 3949e528
......@@ -616,6 +616,9 @@ unload :: DynFlags -> [Linkable] -> IO ()
unload dflags linkables
= block $ do -- block, so we're safe from Ctrl-C in here
-- Initialise the linker (if it's not been done already)
initDynLinker dflags
pls <- readIORef v_PersistentLinkerState
new_pls <- unload_wkr dflags linkables pls
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment