diff --git a/ipc/src/select_with_weak.rs b/ipc/src/select_with_weak.rs index 5a68aa258..43c90b783 100644 --- a/ipc/src/select_with_weak.rs +++ b/ipc/src/select_with_weak.rs @@ -81,7 +81,7 @@ where checked_strong = true; } else { this.use_strong = true; - match Pin::new(&mut this.strong).poll_next(cx) { + match Pin::new(&mut this.weak).poll_next(cx) { Poll::Ready(Some(item)) => return Poll::Ready(Some(item)), Poll::Ready(None) | Poll::Pending => (), }