src: remove unused CancelPendingDelayedTasks

PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
Anna Henningsen committed 2020-04-24 16:14:48 +02:00
1 parent a6c57cc66d
commit ac3714637e
2 files changed
-7

No files matched your search

-5
View File
@@ -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.
-2
View File
@@ -609,6 +609,4 @@ std::queue<std::unique_ptr<T>> TaskQueue<T>::PopAll() {
return result;
}
void MultiIsolatePlatform::CancelPendingDelayedTasks(Isolate* isolate) {}
} // namespace node