projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a290a2
)
Windows DLLs: disable extra shutdownHaskell() when unloading the RTS DLL
author
Ben.Lippmeier@anu.edu.au
<unknown>
Tue, 17 Nov 2009 05:06:48 +0000
(
05:06
+0000)
committer
Ben.Lippmeier@anu.edu.au
<unknown>
Tue, 17 Nov 2009 05:06:48 +0000
(
05:06
+0000)
rts/RtsDllMain.c
patch
|
blob
|
history
diff --git
a/rts/RtsDllMain.c
b/rts/RtsDllMain.c
index
250b63e
..
3e5af68
100644
(file)
--- a/
rts/RtsDllMain.c
+++ b/
rts/RtsDllMain.c
@@
-30,7
+30,11
@@
DllMain ( HINSTANCE hInstance
* you pass to the RTS.
*/
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;
}