Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
nmaves
Level 7

Stop task when node is no longer available

I have a panel within a panelset that uses a timer to refresh itself.  I can't figure out a way to start this on init() and then stop when the panel has been replaced.

Any ideas?
0 Kudos
1 REPLY 1
joetesta
Level 11

Re: Stop task when node is no longer available

can you create the timer on init, set to invalid when panel replaced and create new timer when needed?
aspiring
0 Kudos