lua-users home
lua-l archive

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


> I agree that there's not much that Lua can do. However it could have a
> function pointer to a C error handler, which is just enough customization
> for the program that I'm working on. This way, the host application has an
> opportunity to exit in its own way. Also, it may be a context in which Lua's
> memory corruption does not affect the host application, and in that case the
> host application could terminate and restart Lua or something like that.

Can you not use atexit() if Lua calls exit() ?

Nick