chore: stop leaking v8 environment (#22761)

This commit is contained in:
Jeremy Apthorp 2020-03-20 14:15:55 -07:00 committed by GitHub
parent 22c17bcc5b
commit 07a049ef1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 24 additions and 22 deletions

View file

@ -129,8 +129,8 @@ class ElectronBrowserMainParts : public content::BrowserMainParts {
// Pointer to exit code.
int* exit_code_ = nullptr;
std::unique_ptr<Browser> browser_;
std::unique_ptr<JavascriptEnvironment> js_env_;
std::unique_ptr<Browser> browser_;
std::unique_ptr<NodeBindings> node_bindings_;
std::unique_ptr<ElectronBindings> electron_bindings_;
std::unique_ptr<NodeEnvironment> node_env_;