|
David Given wrote:
Trying to do real work from a finaliser in Lua land is going to involve a world of pain, I'm afraid. Consider the following:
...
Lua avoids this kind of nasty mess by decreeing that finalisers are not available from the Lua language.
Well... having asked about this before, I got the reply that using a Lua function as a finalizer is fully supported, IIRC. Certainly I do this extensively without conspicuous problems. --Adam