Quote:

Be sure to check if on_exit is already defined so you don't mess up the other programmers' exit routine.




Hi Futurulus,

I thought about that, but as you pointed out I didn't want to set on_exit in my library for fear that I would interfere with the other programmer's code. If there's no way to push trash on to the "garbage stack", then I'll do what you suggest that optionally use the on_exit event to help make sure that the structures are cleaned up.

Thanks!
- Bret