
#13439: ForeignPtr finalizers not searched for reachable objects? -------------------------------------+------------------------------------- Reporter: | Owner: (none) facundo.dominguez | Type: bug | Status: new Priority: normal | Milestone: Component: libraries/base | Version: 8.0.2 Resolution: | Keywords: ForeignPtr | finalizers Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by facundo.dominguez): The semantics of finalizers for [http://hackage.haskell.org/package/base-4.9.1.0/docs/System-Mem- Weak.html#g:4 weak pointers] would explain this behavior. If they are indeed the same for ForeignPtr's, it would help saying so in the documentation. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13439#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler