Re: [AD] destroy_bitmap after allegro_exit |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
In reply to Javier González <xaviergonz@xxxxxxxxxx>: >Hmm, I don't see why to support an undocumented behaivour =) >In anyway, who expects (at least not me) than when NULL is passed it will >use by default atexit? > >Could we change it to not call anything if NULL is passed? I ask for it >because >making an empty function just looks, uh... dummy =) It would be better if the user had to *explicitly* disable the atexit() registration, rather than doing it by accident, since a lot of things are cleaned up in the call to allegro_exit(), so if it is not made, the system won't be left in a nice state. Bye for now, -- Laurence Withers, lwithers@xxxxxxxxxx http://www.lwithers.demon.co.uk/
Attachment:
signature.asc
Description: PGP signature
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |