From ac3714637e81f65f615c7ebb5e4c0be53ea0dfd0 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/32859 Reviewed-By: Colin Ihrig Reviewed-By: James M Snell Reviewed-By: Juan José Arboleda Reviewed-By: Franziska Hinkelmann --- 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 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