RTS cannot be reinitialized reliably after hs_exit()
#2863 (closed) added the FFI spec violation to the docs, but as far as I can tell, there is and was no ticket to actually fix the problems, which seem to be:
- If the runtime is deinitialized by an
hs_exit()matching the first
hs_init(), then it cannot be reinitialized reliably using
- This condition is not detected, and leads to unpredictable behavior.
I'll add a link to this ticket to the user's guide; even if the ticket is ultimately closed as
WONTFIX, it will be good to have a persistent reference.