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
If you open the browser window, and then exit it, the process memory runs amok. Again, this is primarily driven by frequent state changes - if you use my original example and reduce the ticker interval, it does not occur. However, if you create a lot of elements dependent on that state (e.g. 1000 buttons but a 0.1s timer), it happens again. The issue I have in practice is that I believe the leak still occurs in a normal application if you exit the browser window at an inconvenient time - and this is the closest example I've been able to come up with.
Assuming that the leaks in fact occur because the client disconnects at an inconvenient time, the solution is probably to add some cleanup steps to the shared view dispatcher. From what I remember, no such cleanup happens at the moment.
Activity
rmorshea commentedon Sep 10, 2021
Assuming that the leaks in fact occur because the client disconnects at an inconvenient time, the solution is probably to add some cleanup steps to the shared view dispatcher. From what I remember, no such cleanup happens at the moment.
rmorshea commentedon Sep 10, 2021
Yup, it looks like there's a step to add an update queue for a new client, but not a step to remove it after the client disconnects.