-
-
Notifications
You must be signed in to change notification settings - Fork 1
WebUI freeze #994
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
well I think it's quite expected when sending > 1000 events per second |
There should be a mitigation for that imo |
@Timmy-the-nobody does it still happen for you? |
nvm after a few minutes it started lagging for me |
nvm again, I think I only had the lagging because I had verbose logs enabled, and it was generating thousands of logs per second |
I havn't tried again, but when it happened it was almost instant with the snippet i sent |
@Timmy-the-nobody could you try again please (the snippet still works perfectly 😄)? (with logs verbose disabled then enabled) just so we can make sure? |
Will try next time I launch the game |
@gtnardy i tried again and it didn't crash at all, with and without verbose logs. |
That's great to know, I will close the issue then! Probably it was fixed in some of my CEF improvements/bug fixes |
Prerequisites
Your Environment
Description
When sending too much events from JS to lua the whole WebUI page freezes and become unusable
Steps to reproduce the behavior
Install this package on your server:
webui-bug-package.zip
It contains a web page, which runs this every 5ms
In the page there's a button that changes color when hovered
After a bit of time, hovering the button will not change it's color
Expected behavior
The page shouldn't freeze
Actual behavior
The page freeze, and the only way to unfreeze it is by reloading the package and recreate the WebUI instance
The text was updated successfully, but these errors were encountered: