Improve the problem of lagging or even OOM caused by reactivation after hanging in the background for a long time#120
Improve the problem of lagging or even OOM caused by reactivation after hanging in the background for a long time#120mzzsfy wants to merge 1 commit into
Conversation
…er hanging in the background for a long time
|
Hi and thank you for contributing |
|
When your page is in the background for a long time (minutes or even hours, Chrome), the callback of websocket.onmessage will not be processed on time. When the page is reactivated, onmessage is called repeatedly, which will generate a large number of UI redraw, which will cause the page to freeze or even OOM |
|
I see, thank you very much. |
|
Nice, so when will this be released to the next version? I have encountered this problem many times. In the worst case, I need to use the task manager to forcefully close chrome. |
As soon as I've got the time to try your PR, merge it and tag a release. I hope to have time today, or else it's going to be during the weekend |
|
I see, thank you very much. |
|
I've tried to reproduce the problem you were having but I couldn't. |
|
Windows systems,open web page, use Microsoft Edge and play the video in full screen. It will take about a few minutes to reproduce the problem(Make sure the energy -saving mode is not closed).If you still can't reproduce this scenario, I will submit an issue |
|
Already solved #122 |
No description provided.