Skip to content

Commit

Permalink
Fix memory leak when using webFrame and spell checker (backport: 5-0-…
Browse files Browse the repository at this point in the history
…x) (#16851)

* 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
trop[bot] authored and MarshallOfSound committed Feb 8, 2019
1 parent c65e907 commit 8b5f26a
Show file tree
Hide file tree
Showing 5 changed files with 323 additions and 317 deletions.

0 comments on commit 8b5f26a

Please sign in to comment.