mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
neutrino: fix segfault on restart
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@298 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: d2f5ec90c1
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2010-02-07 (Sun, 07 Feb 2010)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -4178,18 +4178,20 @@ int CNeutrinoApp::exec(CMenuTarget* parent, const std::string & actionKey)
|
||||
networkConfig.commitConfig();
|
||||
saveSetup(NEUTRINO_SETTINGS_FILE);
|
||||
|
||||
/* this is an ugly mess :-( */
|
||||
delete g_RCInput;
|
||||
delete g_Sectionsd;
|
||||
delete g_Timerd;
|
||||
delete g_RemoteControl;
|
||||
delete g_fontRenderer;
|
||||
delete g_Zapit;
|
||||
delete CVFD::getInstance();
|
||||
|
||||
delete hintBox;
|
||||
delete frameBuffer;
|
||||
|
||||
stop_daemons();
|
||||
/* g_Timerd, g_Zapit and CVFD are used in stop_daemons */
|
||||
delete g_Timerd;
|
||||
delete g_Zapit;
|
||||
delete CVFD::getInstance();
|
||||
|
||||
execvp(global_argv[0], global_argv); // no return if successful
|
||||
exit(1);
|
||||
|
Reference in New Issue
Block a user