2 Commits

Author SHA1 Message Date
Ramiro Polla
0bdaeb12a0 Clear exit_functions after the exit functions have been called
While execve() does not run the functions registered with atexit() and they
must therefore be called explicitly prior to the call to execve(), the Windows
replacement function will end up running the atexit() hooks twice, and
clearing the pointer prevents the functions from actually running twice.
2010-07-16 16:17:37 +02:00
Joel Rosdahl
a417ea68b2 Add exit functions functionality 2010-07-14 18:59:06 +02:00