mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
-try to fix segfault on webtv channel - neutrino shutdown
This commit is contained in:
@@ -809,6 +809,9 @@ CRecordManager::~CRecordManager()
|
||||
}
|
||||
nextmap.clear();
|
||||
durations.clear();
|
||||
sm.lock();
|
||||
manager = NULL;
|
||||
sm.unlock();
|
||||
}
|
||||
|
||||
CRecordManager * CRecordManager::getInstance()
|
||||
|
@@ -3199,9 +3199,6 @@ void CNeutrinoApp::ExitRun(const bool /*write_si*/, int retcode)
|
||||
}
|
||||
|
||||
|
||||
delete cHddStat::getInstance();
|
||||
delete CRecordManager::getInstance();
|
||||
|
||||
dprintf(DEBUG_INFO, "exit\n");
|
||||
StopSubtitles();
|
||||
stopPlayBack();
|
||||
@@ -3209,6 +3206,9 @@ void CNeutrinoApp::ExitRun(const bool /*write_si*/, int retcode)
|
||||
frameBuffer->paintBackground();
|
||||
videoDecoder->ShowPicture(DATADIR "/neutrino/icons/shutdown.jpg");
|
||||
|
||||
delete cHddStat::getInstance();
|
||||
delete CRecordManager::getInstance();
|
||||
|
||||
CEpgScan::getInstance()->Stop();
|
||||
if(g_settings.epg_save /* && timeset && g_Sectionsd->getIsTimeSet ()*/) {
|
||||
g_Sectionsd->setPauseScanning(true);
|
||||
|
Reference in New Issue
Block a user