mirror of
https://github.com/aphrody-labs/opentui.git
synced 2026-10-14 05:09:27 +00:00
Since the native render tree, every renderable constructor throws "Native scene is destroyed" for a destroyed renderer. Both adapters already skipped engine.attach() for a destroyed renderer but still mounted, so Solid render() rejected and React logged the error from its ErrorBoundary fallback when a mount ran after destroy (for example after exitOnCtrlC). Return before the mount instead; core keeps throwing. Source +1 line per adapter: the early return needs its own line next to the now unconditional engine.attach(). Issue: 068 Fixes #1600