Move new_task to SchedulerState
#4527
+30
−30
Merged