Commit 158e7136 authored by Ben.Lippmeier@anu.edu.au's avatar Ben.Lippmeier@anu.edu.au
Browse files

Windows DLLs: disable extra shutdownHaskell() when unloading the RTS DLL

parent 0a290a2a
...@@ -30,7 +30,11 @@ DllMain ( HINSTANCE hInstance ...@@ -30,7 +30,11 @@ DllMain ( HINSTANCE hInstance
* you pass to the RTS. * you pass to the RTS.
*/ */
switch (reason) { switch (reason) {
case DLL_PROCESS_DETACH: shutdownHaskell();
// shutdownHaskelAndExit() is already being called,
// so I don't think we need this. BL 2009/11/17
//case DLL_PROCESS_DETACH: shutdownHaskell();
} }
return TRUE; return TRUE;
} }
......
Markdown is supported
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