#5402: Exit code is wrong with dynamically loaded libraries
---------------------------------+------------------------------------------
Reporter: Lennart | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Runtime System | Version: 7.1
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Comment(by simonmar):
Ok, I'm not claiming it's not an RTS bug, just trying to figure out what
assumption has been broken to find out where to apply a fix.
I ''think'' that `shutdownHaskellAndExit()` should do exactly what it says
on the tin: shut down the RTS regardless of how many `hs_init`s there have
been previously, and then exit. It sounds like that would work in your
case - would it?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5402#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs