lua-users home
lua-l archive

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

That might work for some folks if a function callback is all you need.
For my particular app it didn't fit.  The app requires an unwind of the
for proper shutdown.


-----Original Message-----
From: Christian Vogler []
Sent: Tuesday, August 29, 2000 1:10 AM
To: Multiple recipients of list
Subject: Re: exit

On Tue, Aug 29, 2000 at 12:13:56AM -0700, Jim Mathies wrote:
> cause stack overflow exceptions on the c side.  I can't allow Lua to
> call exit()
> because i need the execution thread to unwind so i can use it to clean
> up 
> things like OpenGL. 

What about using atexit()?

- Christian