mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
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:
2 files changed
-7
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user