Carlos Agon <Carlos.Agon@...> writes:
> Which is the mechanism that is used in SBCL to call a set of
> functions whenever we quit sbcl ?
There is no such mechanism.
The normal Lisp practice is to use UNWIND-PROTECT around your dynamic
context -- but obviously that isn't the way to go.
What's your use case?
How strong a guarantee do you need for your functions to run? Should
the be run if the debugger is disabled and an error is hit? Should
they be run only on normal exits? Should they be run only on abnormal
exits? Should they run on SIGHUP?
-- Nikodemus Schemer: "Buddha is small, clean, and serious."
Lispnik: "Buddha is big, has hairy armpits, and laughs."