core: Run async tasks until stalled

Previously it used run which tries to run until completion, but we can't do
that if we are testing socket behavior.
This commit is contained in:
sleepycatcoding 2023-07-23 13:14:16 +03:00 committed by Nathan Adams
parent 5d29c909c6
commit f3917c8c62
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ impl NullExecutor {
}
pub fn run(&mut self) {
self.0.run();
self.0.run_until_stalled();
}
}