Skip to content

Commit

Permalink
Fix memory leak when using webFrame and spell checker (4-0-x) (#16772)
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 John Kleinschmidt committed Feb 12, 2019
1 parent 29a0bc2 commit 45a554f
Show file tree
Hide file tree
Showing 4 changed files with 332 additions and 216 deletions.

0 comments on commit 45a554f

Please sign in to comment.