mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-24 20:45:56 +03:00
[PR #289] [MERGED] fix(solid): Call lifecycle dispose on renderer.destroy #424
Labels
No labels
bug
core
documentation
feature
good first issue
help wanted
pull-request
question
react
solid
tmux
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentui#424
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/anomalyco/opentui/pull/289
Author: @veracioux
Created: 11/9/2025
Status: ✅ Merged
Merged: 11/12/2025
Merged by: @kommander
Base:
main← Head:fix/framework-lifecycle-dispose📝 Commits (7)
3f398e1fix(solid): Call lifecycle dispose on testSetup.renderer.destroyfe815dbMerge remote-tracking branch 'upstream/main' into fix/framework-lifecycle-disposef0403eafeat(renderer): Add CliRenderer.onDestroy callback1096e5afeat(solid): Pass onDestroy with dispose() to renderer8975d29Merge remote-tracking branch 'upstream/main' into fix/framework-lifecycle-dispose1843812style: Format code84f1e57style: Format packages/solid/README.md📊 Changes
3 files changed (+29 additions, -6 deletions)
View changed files
📝
packages/core/src/renderer.ts(+11 -0)📝
packages/solid/README.md(+2 -2)📝
packages/solid/index.ts(+16 -4)📄 Description
Changes:
dispose()inonDestroyAddresses #288 for solidjs.
This is a proof of concept for fixing #288.
A potential alternative would be to add a dispose or onDestroy parameter to
CliRendererConfig.I only added it to the solidjs testSetup because I currently need it to write the opencode TUI tests. After your feedback, I can also add it to the production solidjs
renderand react+vue (if applicable).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.