mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-06 07:15:30 -04:00
term: io-uring: assert we didn't have any CQ overflows (we do)
This commit is contained in:
parent
dcffea86b1
commit
f57ede1720
1 changed files with 2 additions and 0 deletions
|
|
@ -1911,6 +1911,8 @@ uring_shutdown(struct terminal *term)
|
||||||
if (term->uring.ring.ring_fd < 0)
|
if (term->uring.ring.ring_fd < 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
xassert(term->uring.ring.cq.koverflow == 0);
|
||||||
|
|
||||||
if (term->window != NULL && term->window->is_configured)
|
if (term->window != NULL && term->window->is_configured)
|
||||||
fdm_del_no_close(term->fdm, term->uring.ring.ring_fd);
|
fdm_del_no_close(term->fdm, term->uring.ring.ring_fd);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue