[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: lua_pcall vs lua_call
- From: "Paul Moore" <p.f.moore@...>
- Date: Sat, 19 Jul 2008 10:17:28 +0100
2008/7/19 Matthew Paul Del Buono <firstname.lastname@example.org>:
> As I pointed out earlier in this thread, the state is invalid after it has panicked :)
> The only valid operation is lua_close. Yes that is safe to call.
Thanks, that's the key one for me.
> You can avoid a program exit by never returning, e.g., by using a longjmp().
That's what I was planning to do, thanks. As long as I can lua_close
the state to clean up as best I can, that is sufficient for me.
Thanks for the help,