mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
speed up shutdown
This commit is contained in:
@@ -1778,6 +1778,7 @@ class App(Generic[ReturnType], DOMNode):
|
||||
await child._close_messages()
|
||||
|
||||
async def _shutdown(self) -> None:
|
||||
self._begin_update() # Prevents any layout / repaint while shutting down
|
||||
driver = self._driver
|
||||
self._running = False
|
||||
if driver is not None:
|
||||
|
||||
Reference in New Issue
Block a user