Skip to content

Objects loaded by RTS linker don't have destructors run

While looking at #20493 I noticed that code loaded by the does not have its fini destructors executed. For foreign libraries loaded in GHCi this could result in resource leaks and potential mis-behavior.

Edited by Ben Gamari
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information