lua-users home
lua-l archive

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


> Surely this isn't exactly what is meant?

No. My explanation was a mess.

What Lua ensures is that, for userdata collected in the same GC cycle,
their finalizers are called in reverse order. And the bug is not even
related to that. The bug was that userdata collected in later GC cycles
could have their finalizers called earlier.

But the patch seems to work all the same :)

-- Roberto