mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
src: remove unused IsolateSettings variable
PR-URL: https://github.com/nodejs/node/pull/33417 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
e668376b5b
commit
548db2e5b9
1 file changed
+1
-2
@@ -198,8 +198,7 @@ std::unique_ptr<Environment> NodeMainInstance::CreateMainEnvironment(
|
||||
context =
|
||||
Context::FromSnapshot(isolate_, kNodeContextIndex).ToLocalChecked();
|
||||
InitializeContextRuntime(context);
|
||||
IsolateSettings s;
|
||||
SetIsolateErrorHandlers(isolate_, s);
|
||||
SetIsolateErrorHandlers(isolate_, {});
|
||||
} else {
|
||||
context = NewContext(isolate_);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user