CScreenSaver: ensure full cleanup of infoclock after stopped screensaver

This provokes re init of info clock.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 622e7a4dd2
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-02-07 (Tue, 07 Feb 2017)



------------------
This commit was generated by Migit
This commit is contained in:
2017-02-07 17:06:11 +01:00
parent f453a23804
commit b2eb4b1889

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)