0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01: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:
Daniel Bevenius 2020-05-15 10:08:02 +02:00
parent ebffd229a1
commit ef1eb8d439

View File

@ -190,8 +190,7 @@ NodeMainInstance::CreateMainEnvironment(int* exit_code) {
context =
Context::FromSnapshot(isolate_, kNodeContextIndex).ToLocalChecked();
InitializeContextRuntime(context);
IsolateSettings s;
SetIsolateErrorHandlers(isolate_, s);
SetIsolateErrorHandlers(isolate_, {});
} else {
context = NewContext(isolate_);
}