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: 

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
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?
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
0 Kudos