[Live-devel] [Patch] Don't exit(0) but abort() in case of unhanded error.
Ross Finlayson
finlayson at live555.com
Wed Dec 30 10:28:19 PST 2009
>exit() will run functions installed with atexit(), and destructors for
>C++ static objects, and so on. abort() will kill the program quickly
>rather than calling these functions while the program is already in a
>bad state (just like a failing assert()).
OK, FWIW (not much :-), I'll change the "exit()" calls to "abort()"
in the next release of the code.
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list