From ebda20faddc26d805eb17088bddbf4b6794f16f6 Mon Sep 17 00:00:00 2001 From: Neil Burrows Date: Sat, 12 Dec 2020 11:51:11 +0000 Subject: [PATCH] Remove data from livetv task nodes after use --- components/liveTv/schedule.brs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/liveTv/schedule.brs b/components/liveTv/schedule.brs index aa3de85d..f08a8da5 100644 --- a/components/liveTv/schedule.brs +++ b/components/liveTv/schedule.brs @@ -56,6 +56,7 @@ sub onChannelsLoaded() m.scheduleGrid.setFocus(true) m.top.signalBeacon("EPGLaunchComplete") ' Required Roku Performance monitoring + m.LoadChannelsTask.channels = [] end sub ' When LoadScheduleTask completes (initial or more data) and we have a schedule to display @@ -76,6 +77,7 @@ sub onScheduleLoaded() end for m.scheduleGrid.showLoadingDataFeedback = false + m.LoadScheduleTask.schedule = [] end sub sub onProgramFocused() @@ -113,6 +115,7 @@ sub onProgramDetailsLoaded() end if channel.ReplaceChild(m.LoadProgramDetailsTask.programDetails, m.LoadProgramDetailsTask.programDetails.programIndex) + m.LoadProgramDetailsTask.programDetails = invalid end sub