Skip to content

Commit ac37146

Browse files
committed
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>
1 parent a6c57cc commit ac37146

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

src/node.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -295,11 +295,6 @@ class NODE_EXTERN MultiIsolatePlatform : public v8::Platform {
295295
virtual bool FlushForegroundTasks(v8::Isolate* isolate) = 0;
296296
virtual void DrainTasks(v8::Isolate* isolate) = 0;
297297

298-
// TODO(addaleax): Remove this, it is unnecessary.
299-
// This would currently be called before `UnregisterIsolate()` but will be
300-
// folded into it in the future.
301-
virtual void CancelPendingDelayedTasks(v8::Isolate* isolate);
302-
303298
// This needs to be called between the calls to `Isolate::Allocate()` and
304299
// `Isolate::Initialize()`, so that initialization can already start
305300
// using the platform.

src/node_platform.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -609,6 +609,4 @@ std::queue<std::unique_ptr<T>> TaskQueue<T>::PopAll() {
609609
return result;
610610
}
611611

612-
void MultiIsolatePlatform::CancelPendingDelayedTasks(Isolate* isolate) {}
613-
614612
} // namespace node

0 commit comments

Comments
 (0)