mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
CInfoClock: Fix segfault at 'standby mode after boot'
- Initialize InfoClock before standby mode
This commit is contained in:
@@ -2041,13 +2041,14 @@ void CNeutrinoApp::RealRun(CMenuWidget &mainMenu)
|
|||||||
ShowMsgUTF(LOCALE_PLUGINS_RESULT, g_PluginList->getScriptOutput(), CMessageBox::mbrBack,CMessageBox::mbBack,NEUTRINO_ICON_SHELL);
|
ShowMsgUTF(LOCALE_PLUGINS_RESULT, g_PluginList->getScriptOutput(), CMessageBox::mbrBack,CMessageBox::mbBack,NEUTRINO_ICON_SHELL);
|
||||||
}
|
}
|
||||||
g_RCInput->clearRCMsg();
|
g_RCInput->clearRCMsg();
|
||||||
if(g_settings.power_standby || init_cec_setting)
|
|
||||||
standbyMode(true, true);
|
|
||||||
|
|
||||||
InfoClock = CInfoClock::getInstance();
|
InfoClock = CInfoClock::getInstance();
|
||||||
if(g_settings.mode_clock)
|
if(g_settings.mode_clock)
|
||||||
g_settings.mode_clock = InfoClock->StartClock();
|
g_settings.mode_clock = InfoClock->StartClock();
|
||||||
|
|
||||||
|
if(g_settings.power_standby || init_cec_setting)
|
||||||
|
standbyMode(true, true);
|
||||||
|
|
||||||
//cCA::GetInstance()->Ready(true);
|
//cCA::GetInstance()->Ready(true);
|
||||||
|
|
||||||
while( true ) {
|
while( true ) {
|
||||||
|
Reference in New Issue
Block a user