shm: we may exit with busy buffers remaining (seen on KDE)

This commit is contained in:
Daniel Eklöf 2021-07-16 16:47:15 +02:00
parent 99ea47c97a
commit 69260dd960
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 22 additions and 8 deletions

View file

@ -2311,7 +2311,7 @@ grid_render(struct terminal *term)
}
else if (buf->age > 0) {
LOG_DBG("buffer age: %u", buf->age);
LOG_DBG("buffer age: %u (%p)", buf->age, (void *)buf);
xassert(term->render.last_buf != NULL);
xassert(term->render.last_buf != buf);