Library test: release the runner before the world owner is awaited

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-12-02 20:41:52 +01:00
commit 92fcb70aa6

View file

@ -14329,6 +14329,7 @@ mod tests {
assert_eq!(port.calls(), 1, "a bound of one started more than one session");
runner.sweep(pool(2), 1).await.unwrap();
assert_eq!(port.calls(), 2, "the second sweep answers the entry the first left");
drop(runner);
drop(mailbox);
task.await.unwrap();
}