From d7652d89ca79e30c6296ec71882b2de6b7728c63 Mon Sep 17 00:00:00 2001 From: Frank Schmirler Date: Tue, 16 Jul 2013 13:12:20 +0200 Subject: Start cSuspendCtl hidden or it will prevent idle shutdown. As long as a cControl is not hidden, cControl::Control() will return a value and LastInteract is updated in the VDR main loop. --- server/suspend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server') diff --git a/server/suspend.c b/server/suspend.c index b6e1382..fd351b6 100644 --- a/server/suspend.c +++ b/server/suspend.c @@ -39,7 +39,7 @@ void cSuspendLive::Action(void) { bool cSuspendCtl::m_Active = false; cSuspendCtl::cSuspendCtl(void): - cControl(m_Suspend = new cSuspendLive) { + cControl(m_Suspend = new cSuspendLive, true) { m_Active = true; } -- cgit v1.2.3