mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
fix exit condition
This commit is contained in:
@@ -108,7 +108,7 @@ class Signal(Generic[SignalT]):
|
||||
|
||||
"""
|
||||
# Don't publish if the DOM is not ready or shutting down
|
||||
if not self._owner.is_attached or not self._owner.app._exit:
|
||||
if not self._owner.is_attached or self._owner.app._exit:
|
||||
return
|
||||
for ancestor_node in self._owner.ancestors_with_self:
|
||||
if not ancestor_node.is_running:
|
||||
|
||||
Reference in New Issue
Block a user