Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
SolveLLC
Visitor

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
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.