Remove data from livetv task nodes after use

This commit is contained in:
Neil Burrows 2020-12-12 11:51:11 +00:00
parent 0a4e2f2aaf
commit ebda20fadd

View File

@ -56,6 +56,7 @@ sub onChannelsLoaded()
m.scheduleGrid.setFocus(true) m.scheduleGrid.setFocus(true)
m.top.signalBeacon("EPGLaunchComplete") ' Required Roku Performance monitoring m.top.signalBeacon("EPGLaunchComplete") ' Required Roku Performance monitoring
m.LoadChannelsTask.channels = []
end sub end sub
' When LoadScheduleTask completes (initial or more data) and we have a schedule to display ' When LoadScheduleTask completes (initial or more data) and we have a schedule to display
@ -76,6 +77,7 @@ sub onScheduleLoaded()
end for end for
m.scheduleGrid.showLoadingDataFeedback = false m.scheduleGrid.showLoadingDataFeedback = false
m.LoadScheduleTask.schedule = []
end sub end sub
sub onProgramFocused() sub onProgramFocused()
@ -113,6 +115,7 @@ sub onProgramDetailsLoaded()
end if end if
channel.ReplaceChild(m.LoadProgramDetailsTask.programDetails, m.LoadProgramDetailsTask.programDetails.programIndex) channel.ReplaceChild(m.LoadProgramDetailsTask.programDetails, m.LoadProgramDetailsTask.programDetails.programIndex)
m.LoadProgramDetailsTask.programDetails = invalid
end sub end sub