Quantcast
Channel: OutSystems Community
Viewing all articles
Browse latest Browse all 1476385

[Forums] How to remove an event handler in OnDestroy action

$
0
0

Henrique Batista wrote:

Hey Mykola,

Usually when I have those errors it's because I'm using either a settimout or a setinterval without mapping it to outsystems variables.

If it's the same problem, you can have a local variable of type object, on the js node you have an output parameter of type object and assign it to your local variable.

On the onDestroy event you clear your timeout/interval and it should work.

Cheers,

I think it also happens when the OnAfterFetchEvent is triggered but the user navigates away from the screen or weblock to another screen. 


Viewing all articles
Browse latest Browse all 1476385

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>