lua-users home
lua-l archive

Re: __gc finalizer called at exit?

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


But that function will be a closure, so it doesn't require parameters
necesssarily.
It is occaisionally very useful to have something like os.atexit()
steve d.
On Dec 12, 2007 5:25 AM, Norman Ramsey <nr@eecs.harvard.edu> wrote:
> It's annoying that a function passed to atexit() won't take a parameter!
> I assume this is why there's no os.atexit in Lua...

AltStyle によって変換されたページ (->オリジナル) /