mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
try to fix segfault on webtv channel - neutrino shutdown
Origin commit data
------------------
Branch: ni/coolstream
Commit: b22625aa36
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2014-11-13 (Thu, 13 Nov 2014)
Origin message was:
------------------
-try to fix segfault on webtv channel - neutrino shutdown
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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