Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
main: Unregister signal handler before destroying my_perl
If the signal handler runs after perl_destruct() has been called, it will get an invalid (or NULL) my_perl when it asks for the thread-specific interpreter struct. This patch resets the signal handler for any signal previously handled by PL_csighandlerp to SIG_DFL before calling perl_destruct().
- Loading branch information