From 7f74bd1aed6f3e7554db94dd30464b430fe1bee6 Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Wed, 15 Apr 2020 01:57:56 +0200 Subject: [PATCH] src: remove unused CancelPendingDelayedTasks --- src/node.h | 5 ----- src/node_platform.cc | 2 -- 2 files changed, 7 deletions(-) diff --git a/src/node.h b/src/node.h index 16d30e89d2a8b7..022f3e43734672 100644 --- a/src/node.h +++ b/src/node.h @@ -296,11 +296,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