From 8e8027d21e357edbc5fe56c59741924ac4525d67 Mon Sep 17 00:00:00 2001 From: Christopher Harris Date: Fri, 3 Nov 2023 20:19:11 +0000 Subject: [PATCH] remove unncessary yield in main task of asynciorunnable --- python/mrc/_pymrc/include/pymrc/asyncio_runnable.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/python/mrc/_pymrc/include/pymrc/asyncio_runnable.hpp b/python/mrc/_pymrc/include/pymrc/asyncio_runnable.hpp index d9b931ec1..2517acdd8 100644 --- a/python/mrc/_pymrc/include/pymrc/asyncio_runnable.hpp +++ b/python/mrc/_pymrc/include/pymrc/asyncio_runnable.hpp @@ -281,8 +281,6 @@ void AsyncioRunnable::run(mrc::runnable::Context& ctx) template coroutines::Task<> AsyncioRunnable::main_task(std::shared_ptr scheduler) { - co_await scheduler->yield(); - coroutines::TaskContainer outstanding_tasks(scheduler); ExceptionCatcher catcher{};