Ignore shutdown error on re-render

This commit is contained in:
Kovid Goyal 2026-03-21 04:34:35 +05:30
parent 3e5e170156
commit d3e78c3fdd
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -536,8 +536,11 @@ class VirtualCardContainer(QWidget):
else:
w = self._create_card_widget()
if not card.cover_requested:
self.cover_render_queue.put((card.results.book_id, idx))
card.cover_requested = True
try:
self.cover_render_queue.put((card.results.book_id, idx))
card.cover_requested = True
except ShutDown:
pass
w.bind(card)
w.setGeometry(card.x, card.y, card.width, card.height)
w.show()