mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
combine updates, cache arrangements
This commit is contained in:
@@ -274,7 +274,11 @@ class MessagePump:
|
||||
for _cls, method in self._get_dispatch_methods(
|
||||
"on_idle", event
|
||||
):
|
||||
await invoke(method, event)
|
||||
try:
|
||||
await invoke(method, event)
|
||||
except Exception as error:
|
||||
self.app.on_exception(error)
|
||||
break
|
||||
|
||||
log("CLOSED", self)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user