mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-04 00:00:12 +02:00
welp turns out it's not actually real
This commit is contained in:
@@ -74,6 +74,7 @@ fn cap_one() {
|
|||||||
Poll::Pending => {
|
Poll::Pending => {
|
||||||
eprintln!("thread {th} dropping acquire while pending");
|
eprintln!("thread {th} dropping acquire while pending");
|
||||||
should_release = false;
|
should_release = false;
|
||||||
|
cx.waker().wake_by_ref();
|
||||||
Poll::Pending
|
Poll::Pending
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user