chore: remove redundant code in node integration (#33500)
This commit is contained in:
parent
df3cfb663c
commit
c119b1ebef
11 changed files with 32 additions and 108 deletions
|
@ -402,8 +402,8 @@ void ElectronBrowserMainParts::ToolkitInitialized() {
|
|||
int ElectronBrowserMainParts::PreMainMessageLoopRun() {
|
||||
// Run user's main script before most things get initialized, so we can have
|
||||
// a chance to setup everything.
|
||||
node_bindings_->PrepareMessageLoop();
|
||||
node_bindings_->RunMessageLoop();
|
||||
node_bindings_->PrepareEmbedThread();
|
||||
node_bindings_->StartPolling();
|
||||
|
||||
// url::Add*Scheme are not threadsafe, this helps prevent data races.
|
||||
url::LockSchemeRegistries();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue