diff --git a/coreengine/viewelementsdisplaychannel.c b/coreengine/viewelementsdisplaychannel.c index e9157ab..1ade883 100644 --- a/coreengine/viewelementsdisplaychannel.c +++ b/coreengine/viewelementsdisplaychannel.c @@ -162,6 +162,11 @@ void cVeDcEpgInfo::Set(const cEvent *p, const cEvent *f) { SetDirty(); } +void cVeDcEpgInfo::Close(void) { + tokenContainer->Clear(); + cViewElement::Close(); +} + bool cVeDcEpgInfo::EventHasTimer(const cEvent *e) { if (!e) return false; cGlobalSortedTimers SortedTimers;// local and remote timers diff --git a/coreengine/viewelementsdisplaychannel.h b/coreengine/viewelementsdisplaychannel.h index 88c69be..78bc067 100644 --- a/coreengine/viewelementsdisplaychannel.h +++ b/coreengine/viewelementsdisplaychannel.h @@ -39,6 +39,7 @@ public: virtual ~cVeDcEpgInfo(void); void SetTokenContainer(void); void Set(const cEvent *p, const cEvent *f); + void Close(void); }; /****************************************************************** * cVeDcProgressBar