You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I put this in a Cmd and when I get the 'msg I schedule it again.
But on closing the page this continuous to run.
I need a way to detect, that the window has been closed, to stop that scheduling.
Adding a component and dispatching a 'msg on Dispose seems to work. Although it takes 3 minutes from closing the window until the Dispose and I haven´t figured out how to give the component the dispatch function.
Is there a recommended way to do this?
The text was updated successfully, but these errors were encountered:
I couldn't get it to run. But I found a better way for my specific problem (Update Links when link is actually clicked).
I would still be interested if anyone knows a solution to this, though....
A part of my app should update continuously.
I put this in a Cmd and when I get the 'msg I schedule it again.
But on closing the page this continuous to run.
I need a way to detect, that the window has been closed, to stop that scheduling.
Adding a component and dispatching a 'msg on Dispose seems to work. Although it takes 3 minutes from closing the window until the Dispose and I haven´t figured out how to give the component the dispatch function.
Is there a recommended way to do this?
The text was updated successfully, but these errors were encountered: