CScreenSaver: ensure full cleanup of infoclock after stopped screensaver

This provokes re init of info clock.
This commit is contained in:
2017-02-07 17:06:11 +01:00
parent 95de68c5a5
commit 622e7a4dd2

View File

@@ -143,10 +143,12 @@ void CScreenSaver::Stop()
m_frameBuffer->paintBackground(); //clear entire screen
CAudioMute::getInstance()->enableMuteIcon(status_mute);
if (!OnAfterStop.empty())
if (!OnAfterStop.empty()){
OnAfterStop();
else
}else{
CInfoClock::getInstance()->ClearDisplay(); //provokes reinit
CInfoClock::getInstance()->enableInfoClock();
}
}
void* CScreenSaver::ScreenSaverPrg(void* arg)