From 3c86dc5b78b74e7d42c40c38e9af05cd59387c6d Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Mon, 2 Apr 2012 12:24:09 +0400 Subject: [PATCH] neutrino.cpp: exit() in place of _exit() hack, for testing Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/1f1531ba86eba2b00ba978a8937c0fcd83bfa348 Author: [CST] Focus Date: 2012-04-02 (Mon, 02 Apr 2012) --- src/neutrino.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index b14c4014f..22611e7b8 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -3038,7 +3038,8 @@ void CNeutrinoApp::ExitRun(const bool /*write_si*/, int retcode) reboot(LINUX_REBOOT_CMD_RESTART); #else - _exit(retcode); + //_exit(retcode); + exit(retcode); #endif exit(retcode); } @@ -3593,7 +3594,8 @@ void sighandler (int signum) CNeutrinoApp::getInstance()->saveSetup(NEUTRINO_SETTINGS_FILE); stop_daemons(); stop_video(); - _exit(0); + //_exit(0); + exit(0); default: break; }