diff --git a/packages/scheduler/src/forks/SchedulerPostTask.js b/packages/scheduler/src/forks/SchedulerPostTask.js index e5f45c06ce8c9..547f165ff9632 100644 --- a/packages/scheduler/src/forks/SchedulerPostTask.js +++ b/packages/scheduler/src/forks/SchedulerPostTask.js @@ -129,15 +129,9 @@ function runTask( if (typeof result === 'function') { // Assume this is a continuation const continuation: SchedulerCallback = (result: any); - const continuationController = new TaskController({ - priority: postTaskPriority, - }); const continuationOptions = { - signal: continuationController.signal, + signal: node._controller.signal, }; - // Update the original callback node's controller, since even though we're - // posting a new task, conceptually it's the same one. - node._controller = continuationController; const nextTask = runTask.bind( null,