Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
SolveLLC
Level 8

SceneGraph Home/Back button causes reboot on 8.0.1 4047-46

After HLS application has been running for a 10-15 minutes if I press the Home or Back button to exit the application freezes and reboots.  I'm doing manual garbage collection and monitoring memory usage, but I can't see any debugging information because the device reboots without printing to the console.  

I am seeing this behavior on Roku Premier 8.0.1 4047-46

I am not seeing this behavior on 3710RW - Roku Express 8.0.0 4128-28

sub showChannelSGScreen()
print"showChannelSGScreen"
    m.screen = CreateObject("roSGScreen")
    m.port = CreateObject("roMessagePort")
    m.screen.setMessagePort(m.port)
    scene = m.screen.CreateScene("MainScene")

    m.screen.show()

    while(true)
        msg = wait(5, m.port)
                  abc=scene.buttonSelected

                        if abc<>""
                                m.screen.close()
                        end if
        msgType = type(msg)
        if msgType = "roSGScreenEvent"
            if msg.isScreenClosed() then return
        end if
    end while

end sub
0 Kudos