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

Fix memory leak when using webFrame and spell checker (3-1-x) #16771

Merged
merged 2 commits into from Feb 15, 2019

Conversation

zcbenz
Copy link
Member

@zcbenz zcbenz commented Feb 6, 2019

Backport #16770 to 3-1-x.

Notes: Fix memory leak when using webFrame and spell checker.

@zcbenz zcbenz requested a review from a team February 6, 2019 08:51
@zcbenz zcbenz force-pushed the web-frame-refactor-3-1-x branch 4 times, most recently from 13b1f07 to 29dc9d8 Compare February 6, 2019 13:42
When reloading a page without restarting renderer process (for example
sandbox mode), the blink::WebFrame is not destroyed, but api::WebFrame
is always recreated for the new page context. This leaves a leak of
api::WebFrame.
@zcbenz
Copy link
Member Author

zcbenz commented Feb 7, 2019

The failing test is not related to this PR as it also happens on the target branch.

Copy link
Member

@codebytere codebytere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm as a backport!

@codebytere codebytere merged commit dd4b688 into 3-1-x Feb 15, 2019
@release-clerk
Copy link

release-clerk bot commented Feb 15, 2019

Release Notes Persisted

Fix memory leak when using webFrame and spell checker.

@codebytere codebytere deleted the web-frame-refactor-3-1-x branch February 15, 2019 18:22
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

Successfully merging this pull request may close these issues.

None yet

2 participants