fix exit condition

This commit is contained in:
Will McGugan
2024-07-04 14:45:17 +01:00
parent c8ba5f4a3d
commit 6adb0ab780

View File

@@ -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: