diff --git a/src/node.h b/src/node.h index 7fbbdb7ea23601..c97b4256559add 100644 --- a/src/node.h +++ b/src/node.h @@ -295,11 +295,6 @@ class NODE_EXTERN MultiIsolatePlatform : public v8::Platform { virtual bool FlushForegroundTasks(v8::Isolate* isolate) = 0; virtual void DrainTasks(v8::Isolate* isolate) = 0; - // TODO(addaleax): Remove this, it is unnecessary. - // This would currently be called before `UnregisterIsolate()` but will be - // folded into it in the future. - virtual void CancelPendingDelayedTasks(v8::Isolate* isolate); - // This needs to be called between the calls to `Isolate::Allocate()` and // `Isolate::Initialize()`, so that initialization can already start // using the platform. diff --git a/src/node_platform.cc b/src/node_platform.cc index 1b6129596ac6a8..c5bdc4d33cc9ca 100644 --- a/src/node_platform.cc +++ b/src/node_platform.cc @@ -609,6 +609,4 @@ std::queue> TaskQueue::PopAll() { return result; } -void MultiIsolatePlatform::CancelPendingDelayedTasks(Isolate* isolate) {} - } // namespace node