Clear the Live instance. Used by the Live context manager (no need to call directly).
(self)
| 836 | return len(self._live_stack) == 1 |
| 837 | |
| 838 | def clear_live(self) -> None: |
| 839 | """Clear the Live instance. Used by the Live context manager (no need to call directly).""" |
| 840 | with self._lock: |
| 841 | self._live_stack.pop() |
| 842 | |
| 843 | def push_render_hook(self, hook: RenderHook) -> None: |
| 844 | """Add a new render hook to the stack. |