exit() calls atexit() handlers and C++ destructors (e.g. a C++ weston module) which could destroy state that the main process depends on (e.g. ioctl's, tmpfiles, sockets, etc...). If an exec fails, call _exit() instead of exit(). v2: prefer _exit over _Exit Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>dev
parent
b846a8d45e
commit
3b64d6236c
Loading…
Reference in new issue