X Tutup
The Wayback Machine - https://web.archive.org/web/20220320051116/https://github.com/nodejs/node/commit/ac3714637e
Skip to content
Permalink
Browse files
src: remove unused CancelPendingDelayedTasks
PR-URL: #32859
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
  • Loading branch information
addaleax committed Apr 24, 2020
1 parent a6c57cc commit ac3714637e81f65f615c7ebb5e4c0be53ea0dfd0
Showing with 0 additions and 7 deletions.
  1. +0 −5 src/node.h
  2. +0 −2 src/node_platform.cc
@@ -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.
@@ -609,6 +609,4 @@ std::queue<std::unique_ptr<T>> TaskQueue<T>::PopAll() {
return result;
}

void MultiIsolatePlatform::CancelPendingDelayedTasks(Isolate* isolate) {}

} // namespace node

0 comments on commit ac37146

Please sign in to comment.
X Tutup