Files
opentui/packages/react/src
Simon Klee f1098c97b1 solid, react: skip the mount when the renderer is destroyed (#1604)
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
2026-10-09 21:36:38 +02:00
..
2026-03-12 12:03:20 +01:00
2026-04-28 02:10:37 +02:00