Erik Hofman wrote:

> Frederic Bouvier wrote:
> > What about calling SDL_Quit in a function installed by 'atexit', remove
> > fgOSExit and only rely on exit in all the program ?
> The problem is that plib has taken the liberty to call exit() whenever 
> they feel like it....

You don't have to look into plib to find a lot of exit. jsbsim has its
share and some other modules that are not willing to include fg_os.hxx.

So I think it is safer not to provide our specific exit function and 
rely on atexit callbacks.


Flightgear-devel mailing list

Reply via email to