diff --git a/src/node_worker.cc b/src/node_worker.cc index a98b81065932df..c05e3a9c14c733 100644 --- a/src/node_worker.cc +++ b/src/node_worker.cc @@ -189,7 +189,9 @@ void Worker::Run() { Locker locker(isolate_); Isolate::Scope isolate_scope(isolate_); SealHandleScope outer_seal(isolate_); +#if NODE_USE_V8_PLATFORM && HAVE_INSPECTOR bool inspector_started = false; +#endif DeleteFnPtr env_; OnScopeLeave cleanup_env([&]() {