From 835dd5ea8eab8cd9107f3fef46e661ad604343c1 Mon Sep 17 00:00:00 2001 From: Serge Barral Date: Sat, 22 Oct 2022 17:56:02 +0200 Subject: [PATCH] Fix bug introduced during refactoring --- asynchronix/src/runtime/executor/pool_manager.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/asynchronix/src/runtime/executor/pool_manager.rs b/asynchronix/src/runtime/executor/pool_manager.rs index d0577d1..55979cb 100644 --- a/asynchronix/src/runtime/executor/pool_manager.rs +++ b/asynchronix/src/runtime/executor/pool_manager.rs @@ -90,6 +90,7 @@ impl PoolManager { self.record.increment(first_idle_worker); self.begin_worker_search(); self.worker_unparkers[first_idle_worker].unpark(); + return; } } } @@ -121,6 +122,7 @@ impl PoolManager { self.record.increment(first_idle_worker); self.begin_worker_search(); self.worker_unparkers[first_idle_worker].unpark(); + return; } } }