-
-
Notifications
You must be signed in to change notification settings - Fork 152
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
FILL500 is sometimes slow if webxdc is closed and reopened multiple times in a row #3488
Comments
I don't think this will help, every time you open a webxdc, a new intent is created and the WebxdcActivity is launched, so if the Webview is reused is because the activity is reused and in that case you still would have the same webview object, it doesn't matter if it is inflated from xml or created from java code |
would be interesting to see if the WebxdcActivity is actually destroyed for you before you click the webxdc again |
So normally when activity is closed there is this chromium crash:
But if I open it quickly after closing, this does not help and I get slow progress bar logging this:
|
It looks like WebRTC instances from previous run are not garbage collected and new FILL500 waits for them to get freed up or something like this.
Maybe if we don't reuse WebView and create a new one each time, the problem will be solved.
I.e. using this approach: https://developer.android.com/develop/ui/views/layout/webapps/webview#add-webview-oncreate
Currently Android code uses https://developer.android.com/develop/ui/views/layout/webapps/webview#add-webview-layout
The text was updated successfully, but these errors were encountered: