From f57ede1720582511f545cd0f1a0a32e669d0f901 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Thu, 8 May 2025 13:10:26 +0200 Subject: [PATCH] term: io-uring: assert we didn't have any CQ overflows (we do) --- terminal.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/terminal.c b/terminal.c index 38e76c30..ec839aa0 100644 --- a/terminal.c +++ b/terminal.c @@ -1911,6 +1911,8 @@ uring_shutdown(struct terminal *term) if (term->uring.ring.ring_fd < 0) return; + xassert(term->uring.ring.cq.koverflow == 0); + if (term->window != NULL && term->window->is_configured) fdm_del_no_close(term->fdm, term->uring.ring.ring_fd);