neutrino.cpp: exit() in place of _exit() hack, for testing

This commit is contained in:
[CST] Focus
2012-04-02 12:24:09 +04:00
parent 8049155cfb
commit 1f1531ba86

View File

@@ -3038,7 +3038,8 @@ void CNeutrinoApp::ExitRun(const bool /*write_si*/, int retcode)
reboot(LINUX_REBOOT_CMD_RESTART); reboot(LINUX_REBOOT_CMD_RESTART);
#else #else
_exit(retcode); //_exit(retcode);
exit(retcode);
#endif #endif
exit(retcode); exit(retcode);
} }
@@ -3593,7 +3594,8 @@ void sighandler (int signum)
CNeutrinoApp::getInstance()->saveSetup(NEUTRINO_SETTINGS_FILE); CNeutrinoApp::getInstance()->saveSetup(NEUTRINO_SETTINGS_FILE);
stop_daemons(); stop_daemons();
stop_video(); stop_video();
_exit(0); //_exit(0);
exit(0);
default: default:
break; break;
} }