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.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
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()
    m.screen = CreateObject("roSGScreen")
    m.port = CreateObject("roMessagePort")
    scene = m.screen.CreateScene("MainScene")

        msg = wait(5, m.port)

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

end sub
0 Kudos