Skip to content

Commit

Permalink
Fix memory leak when using webFrame and spell checker (3-1-x) (#16771)
Browse files Browse the repository at this point in the history
* fix: do not create native api::WebFrame in webFrame

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.

* fix: remove spell checker when page context is released
  • Loading branch information
Cheng Zhao authored and codebytere committed Feb 15, 2019
1 parent 0082e80 commit dd4b688
Show file tree
Hide file tree
Showing 5 changed files with 332 additions and 326 deletions.

0 comments on commit dd4b688

Please sign in to comment.