try debug

This commit is contained in:
Alex 2022-09-01 16:01:56 +02:00
parent 522f420e2b
commit b931d0d1cf
Signed by untrusted user: lx
GPG key ID: 0E496D15096376BE

View file

@ -280,6 +280,7 @@ impl Stream for CancelOnDropStream {
let res = this.stream.poll_next(cx); let res = this.stream.poll_next(cx);
if matches!(res, Poll::Ready(None)) { if matches!(res, Poll::Ready(None)) {
if let Some(c) = this.cancel.take() { if let Some(c) = this.cancel.take() {
trace!("defusing cancel request {}", c.id);
std::mem::forget(c) std::mem::forget(c)
} }
} }