Skip to content

Commit 740741b

Browse files
cjihrigtargos
authored andcommitted
src: reduce variable scope in node_worker.cc
PR-URL: #23297 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Gabriel Schulhof <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 56c2f57 commit 740741b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_worker.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,13 +150,13 @@ void Worker::Run() {
150150
TRACE_STR_COPY(name.c_str()));
151151
MultiIsolatePlatform* platform = isolate_data_->platform();
152152
CHECK_NE(platform, nullptr);
153-
bool inspector_started = false;
154153

155154
Debug(this, "Starting worker with id %llu", thread_id_);
156155
{
157156
Locker locker(isolate_);
158157
Isolate::Scope isolate_scope(isolate_);
159158
SealHandleScope outer_seal(isolate_);
159+
bool inspector_started = false;
160160

161161
{
162162
Context::Scope context_scope(env_->context());

0 commit comments

Comments
 (0)