mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
try to fix segfault on neutrino shutdown
Origin commit data
------------------
Branch: ni/coolstream
Commit: 86c126c937
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2014-11-12 (Wed, 12 Nov 2014)
Origin message was:
------------------
- try to fix segfault on neutrino shutdown
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -3909,6 +3909,7 @@ void stop_daemons(bool stopall, bool for_flash)
|
||||
}
|
||||
|
||||
if (for_flash) {
|
||||
delete cHddStat::getInstance();
|
||||
delete CRecordManager::getInstance();
|
||||
delete videoDemux;
|
||||
int ret = my_system(4, "mount", "-no", "remount,ro", "/");
|
||||
@@ -3930,6 +3931,7 @@ void sighandler (int signum)
|
||||
switch (signum) {
|
||||
case SIGTERM:
|
||||
case SIGINT:
|
||||
delete cHddStat::getInstance();
|
||||
delete CRecordManager::getInstance();
|
||||
//CNeutrinoApp::getInstance()->saveSetup(NEUTRINO_SETTINGS_FILE);
|
||||
stop_daemons();
|
||||
|
Reference in New Issue
Block a user