diff --git a/src/quic_conn.c b/src/quic_conn.c index a6fbb2cc5..547c89817 100644 --- a/src/quic_conn.c +++ b/src/quic_conn.c @@ -626,6 +626,7 @@ struct task *quic_conn_app_io_cb(struct task *t, void *context, unsigned int sta out: if ((qc->flags & QUIC_FL_CONN_CLOSING) && qc->mux_state != QC_MUX_READY) { quic_conn_release(qc); + t = NULL; qc = NULL; }