Skip to content

Commit

Permalink
fix: remove memory leak when using webFrame and spell checker (#16770)
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 MarshallOfSound committed Feb 8, 2019
1 parent 3f52e18 commit d16b581
Show file tree
Hide file tree
Showing 5 changed files with 323 additions and 317 deletions.

0 comments on commit d16b581

Please sign in to comment.