Shared library copies not deleted when exiting on signal
When a binary module is loaded (e.g. with (load-binary ...)
), if the library is being reloaded (or, on Windows, loaded in the first place) a copy is made of the shared library file to /tmp
and loaded from there.
These temp files are cleaned up in ecl_library_close_all()
by an atexit
handler. However, if ecl exits due to a signal (e.g. SIGTERM
, SIGHUP
, ...) no cleanup is performed. Of course for SIGKILL
all bets are off, but it would be nice if other signals that default to process termination were handled and performed this cleanup.