I need to perform some important operations in the destructor, so I want to know in which script termination scenarios the user-defined destructors are not called and I can't find it in the documentation.
Example:
- unhandled exception - called
- fatal error - not called
- interpreter receives SIGTERM - called
- interpreter receives SIGKILL - not called
etc...