Skip to content
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

Releasing webview from memory #94

Closed
ghost opened this issue May 15, 2019 · 6 comments
Closed

Releasing webview from memory #94

ghost opened this issue May 15, 2019 · 6 comments

Comments

@ghost
Copy link

ghost commented May 15, 2019

Hi,

Is there a dispose function available to kill the webview after use, for instance in a pageview the webview seems to stay in memory (looking at dev tools in safari).

Thanks

Nathan

@pichillilorenzo
Copy link
Owner

The InAppWebView widget should act like the other widgets, so the dispose function is called automatically when the widget is removed from the widget tree. If you see my example, switching tab from Inline and Chrome/Safari, the webview is being destroyed/disposed automatically.

@pichillilorenzo
Copy link
Owner

Ok, I see it me too on iOS! I will take a look about that

@pichillilorenzo
Copy link
Owner

I tried also the official plugin but seems to have the same issue!

@SteadyAction
Copy link

@pichillilorenzo any update on this? have same issue :(

@emidiao
Copy link

emidiao commented Sep 27, 2019

I'm experiencing the same issue on android, any update?

@pichillilorenzo
Copy link
Owner

Fix available starting from the version 3.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants