refactor: use associated v8::Context
for event setup (#37355)
refactor: use associated v8::Context for event setup
This commit is contained in:
parent
32c60b29bb
commit
6395898a79
5 changed files with 6 additions and 7 deletions
|
@ -76,7 +76,7 @@ void ElectronRendererClient::DidCreateScriptContext(
|
|||
|
||||
if (!node_integration_initialized_) {
|
||||
node_integration_initialized_ = true;
|
||||
node_bindings_->Initialize();
|
||||
node_bindings_->Initialize(renderer_context);
|
||||
node_bindings_->PrepareEmbedThread();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue