Posted to tcl by stevel at Wed Jul 29 01:40:03 GMT 2026view raw
- The fix
- Remove the Tcl_CreateExitHandler registration. TclCreateLateExitHandler()
- would give the right ordering but it's MODULE_SCOPE in tclInt.h and not in the
- stubs table, so extensions can't reach it. Freeing BioMethods buys nothing
- anyway it's one allocation for the life of the process, and OpenSSL's own
- OPENSSL_cleanup() runs from atexit(), i.e. after Tcl has finished, so that
- path was already correctly ordered.
Add a comment