Developers

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

delete roSGNode

Hi,

I am using roSGNode in my roku app, but the issue i am facing is that when i switch from one screen to another i want to delete the previous roSGNode, is there any method through which i can achieve this functionality.

Please do let me know if there is any solution to it.

Thanks
Gaurav
Tags (1)
0 Kudos
2 REPLIES 2
EnTerr
Roku Guru

Re: delete roSGNode

Auto memory management in B/S.
Stop "using" an object (I.e. Drop all references to it and it will be gone / GCed
Why do you care, specifically?
Tags (1)
0 Kudos

Re: delete roSGNode

Hi,

Well thanks a lot for you reply on this, may i know how to drop all references, or to make it null.

Actually in my roku app i am using scene graph, so i have 4 roSGNode in total, when i press OK button, i switched to another roSGNode and when i press back button than to go back to the previous SGNode again had to append the previous SGNode as a child, so this is the issue i am facing, could you please tell me if there is any way out to come back from one SGNode in scene graph to the previous view without appending child.

Thanks
Tags (1)
0 Kudos
Community is Being Upgraded!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 19th and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

We're sorry for this disruption — we’re excited to share what’s next!