try debug
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed

This commit is contained in:
Alex 2022-09-01 16:01:56 +02:00
parent 522f420e2b
commit b931d0d1cf
Signed by: 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)
} }
} }