|
I think I like this. I will test further. > "Finalization of function objects" patch for Lua 5.1.2 > > Each lua thread have own finalization stack. > Call frames may push finalizers to the fin. stack. > When call frame returned or error occured then finalizers called.