mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
fix for simple app case
This commit is contained in:
@@ -268,6 +268,7 @@ class MessagePump:
|
||||
self.app.on_exception(error)
|
||||
break
|
||||
finally:
|
||||
self._message_queue.task_done()
|
||||
if self._message_queue.empty():
|
||||
if not self._closed:
|
||||
event = events.Idle(self)
|
||||
|
||||
Reference in New Issue
Block a user