Ensure data is valid before using to prevent app crash. This comes from the roku crash log and fixes numbers 2 and 3 on this list:
Crashlog:
'Dot' Operator attempted with invalid BrightScript Component or interface reference. (runtime error &hec) in pkg:/source/Main.brs(210)
'Dot' Operator attempted with invalid BrightScript Component or interface reference. (runtime error &hec) in pkg:/source/Main.brs(211)
210 points to this line after running build-prod on 2.0.8:
for i = 0 to currentScene.objects.Items.count() - 1
211 points to this line after running build-prod on 2.0.8:
if LCase(currentScene.objects.Items[i].id) = LCase(currentEpisode.id)
Ensure data is valid before using to prevent app crash. This comes from the roku crash log and fixes numbers 2 and 3 on this list:
Crashlog:
210 points to this line after running build-prod on 2.0.8:
211 points to this line after running build-prod on 2.0.8:
Issues
Introduced in #1749 Ref #1164