[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: __gc finalizer called at exit?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 12 Dec 2007 08:08:14 -0200
> But that function will be a closure, so it doesn't require parameters
He was talking about atexit from the C standard library: There's no way
to tell which Lua state to use. In fact, an application that used multiple
Lua states would have to keep a list of live states to use in its atexit