mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
src/gui/screensaver.cpp try to fix segfault on stop
This commit is contained in:
@@ -164,7 +164,7 @@ void* CScreenSaver::ScreenSaverPrg(void* arg)
|
|||||||
|
|
||||||
if (g_settings.screensaver_timeout)
|
if (g_settings.screensaver_timeout)
|
||||||
{
|
{
|
||||||
while(1)
|
while(PScreenSaver)
|
||||||
{
|
{
|
||||||
PScreenSaver->paint();
|
PScreenSaver->paint();
|
||||||
sleep(g_settings.screensaver_timeout);
|
sleep(g_settings.screensaver_timeout);
|
||||||
|
Reference in New Issue
Block a user