mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: isolate callbacks in node_bindings (#23261)
* fix: isolate callbacks in node_bindings * clarify microtask policy comment
This commit is contained in:
@@ -164,7 +164,7 @@ int NodeMain(int argc, char* argv[]) {
|
||||
exec_argc, exec_argv);
|
||||
CHECK_NE(nullptr, env);
|
||||
|
||||
// TODO(codebytere): we shouldn't have to call this - upstream?
|
||||
// This needs to be called before the inspector is initialized.
|
||||
env->InitializeDiagnostics();
|
||||
|
||||
// This is needed in order to enable v8 host weakref hooks.
|
||||
|
||||
Reference in New Issue
Block a user