From ce23ba64bd4c606576a8cd6003c2dfd4f9820ed6 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Tue, 20 Apr 2021 13:22:37 +0200 Subject: Deleting expired timers is now triggered immediately after the timers are modified --- timers.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'timers.h') diff --git a/timers.h b/timers.h index cffd5d09..9d40992f 100644 --- a/timers.h +++ b/timers.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: timers.h 5.7 2021/04/18 14:56:40 kls Exp $ + * $Id: timers.h 5.8 2021/04/20 13:22:37 kls Exp $ */ #ifndef __TIMERS_H @@ -203,7 +203,7 @@ public: bool SetEvents(const cSchedules *Schedules); bool SpawnPatternTimers(const cSchedules *Schedules); bool AdjustSpawnedTimers(void); - bool DeleteExpired(void); + bool DeleteExpired(bool Force); void Add(cTimer *Timer, cTimer *After = NULL); void Ins(cTimer *Timer, cTimer *Before = NULL); void Del(cTimer *Timer, bool DeleteObject = true); -- cgit v1.2.3