exit function

does anyone have a function that they use to close their channel.

any help would be very appreciated.

BrightScript has a both a stop and an end command. See page 23 of the BrightScript Reference Manual.

chris thank you!

i had recalled a post about calling stop and it would send a message to roku.

will using the “end” do this?

“stop” causes the debugger to open, or a crash report to be sent to roku on a production channel.

“end”, just ends your app without opening the debugger or sending crash reports.

–Kevin

thanks for replying Kevin. i was hoping that “end” wouldn’t do any of that.