mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
made register / unregister private
This commit is contained in:
@@ -219,7 +219,7 @@ class MessagePump:
|
||||
print(self, "close_messages")
|
||||
self._closing = True
|
||||
await self._message_queue.put(MessagePriority(None))
|
||||
self.app.unregister(self)
|
||||
self.app._unregister(self)
|
||||
cancel_tasks = list(self._child_tasks)
|
||||
for task in cancel_tasks:
|
||||
task.cancel()
|
||||
|
||||
Reference in New Issue
Block a user