fix segfault on neutrino restart

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1713 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: cf88d31c18
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2011-09-26 (Mon, 26 Sep 2011)

Origin message was:
------------------
- fix segfault on neutrino restart

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1713 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
gixxpunk
2011-09-26 10:37:47 +00:00
parent 32d0d80125
commit 208f2c0d22

View File

@@ -3806,10 +3806,10 @@ int CNeutrinoApp::exec(CMenuTarget* parent, const std::string & actionKey)
delete hintBox;
delete frameBuffer;
stop_daemons(false);
stop_daemons(true);
/* g_Timerd, g_Zapit and CVFD are used in stop_daemons */
delete g_Timerd;
delete g_Zapit;
delete g_Zapit; //do we really need this?
delete CVFD::getInstance();
execvp(global_argv[0], global_argv); // no return if successful