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: 
bounce
Newbie

Confirm Exit Popup Dialog w/ SGDEX.

Hi,

I am having quite a few issues with trying to close a Roku Channel with SGDEX. I have a dialog that pops up at the end that asks if you wish to exit the application. Yes / No. I have disabled close on last view on back, etc. The view will close correctly, but then I'm left with a grey screen. After searching for solutions I cannot seem to make any brightscript code ultimately close the application. I read somewhere if you delete all the children nodes of the scene, the application would be forced to close? is this accurate? I did a remove children and could never get that code to work on the scene. Any ideas, or guidance is appreciated.

To make matters worse, it seems that I cannot get messages sent from the main.brs while loop. Further complicating matters, does SGDEX take control of the m.port? Thanks in advance for the help.

0 Kudos