@@ -301,9 +301,6 @@ where
301301 }
302302 trace ! ( "{} initializing completed" , executor. pipeline) ;
303303 }
304-
305- // tell the async runtime to poll again because we are still initializing
306- cx. waker ( ) . wake_by_ref ( ) ;
307304 }
308305
309306 // the pipeline has completed executing all steps or encountered and error.
@@ -340,9 +337,6 @@ where
340337
341338 return Poll :: Ready ( output) ;
342339 }
343-
344- // tell the async runtime to poll again because we are still finalizing
345- cx. waker ( ) . wake_by_ref ( ) ;
346340 }
347341
348342 if matches ! ( executor. cursor, Cursor :: BeforeStep ( _, _) ) {
@@ -359,7 +353,6 @@ where
359353 trace ! ( "{} will execute step {path}" , executor. pipeline) ;
360354 let future = executor. execute_step ( & path, input) ;
361355 executor. cursor = Cursor :: StepInProgress ( path, future) ;
362- cx. waker ( ) . wake_by_ref ( ) ; // tell the async runtime to poll again
363356 }
364357
365358 if let Cursor :: StepInProgress ( ref path, ref mut future) = executor. cursor {
@@ -374,8 +367,6 @@ where
374367 // step has completed, we can advance the cursor
375368 executor. cursor = executor. advance_cursor ( path, output) ;
376369 }
377-
378- cx. waker ( ) . wake_by_ref ( ) ; // tell the async runtime to poll again
379370 }
380371
381372 Poll :: Pending
0 commit comments