lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Does lua_atpanic() add to the process for a panic condition or just replace the process?
I am writing a set of libraries for communication using several protocols.  In many situations more than one protocol is in use in a single application.  Each protocol has its own shutdown procedure that should be called for a clean exit in a panic.  If each protocol makes its own call to lua_atpanic() will all the panic functions be called or only the last one to be registered?