Re: __gc finalizer called at exit?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: __gc finalizer called at exit?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: 2007年12月12日 08:08:14 -0200
> But that function will be a closure, so it doesn't require parameters
> necesssarily.
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
handler.