diff --git a/src/node_platform.cc b/src/node_platform.cc index 6fc83950d3083e..f2407f5be2d3c8 100644 --- a/src/node_platform.cc +++ b/src/node_platform.cc @@ -65,7 +65,7 @@ size_t BackgroundTaskRunner::NumberOfAvailableBackgroundThreads() const { PerIsolatePlatformData::PerIsolatePlatformData( v8::Isolate* isolate, uv_loop_t* loop) - : isolate_(isolate), loop_(loop) { + : loop_(loop) { flush_tasks_ = new uv_async_t(); CHECK_EQ(0, uv_async_init(loop, flush_tasks_, FlushTasks)); flush_tasks_->data = static_cast(this); diff --git a/src/node_platform.h b/src/node_platform.h index 8f6ff89f491fe3..cf0809ad1f673b 100644 --- a/src/node_platform.h +++ b/src/node_platform.h @@ -80,7 +80,6 @@ class PerIsolatePlatformData : static void RunForegroundTask(uv_timer_t* timer); int ref_count_ = 1; - v8::Isolate* isolate_; uv_loop_t* const loop_; uv_async_t* flush_tasks_ = nullptr; TaskQueue foreground_tasks_;