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:
parent
5d29c909c6
commit
f3917c8c62
|
@ -289,7 +289,7 @@ impl NullExecutor {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn run(&mut self) {
|
pub fn run(&mut self) {
|
||||||
self.0.run();
|
self.0.run_until_stalled();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue