GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||
GeezerVison is showing github.com — fix(memory): Fix event listener leaks in TUI and Slack bot by sauerdaniel · Pull Request #9147 · anomalyco/opencode Conversation
|
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
The following comment was made by an LLM, it may be inaccurate: Potential Duplicate PRs Found
These PRs appear to target the same memory leak issues, particularly around TUI event listener cleanup. Review their implementation status to ensure no duplicated work. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
00637c0 to
71e0ba2
Compare
f1ae801 to
08fa7f7
Compare
0feb0fe to
cf73908
Compare
|
Rebased onto latest dev and resolved merge conflicts.\n\nChanges:\n- tooltip.tsx: Added imports (children, onCleanup, onMount) and event listener cleanup logic\n- sync.tsx: Auto-merged successfully\n- slack/index.ts: Auto-merged successfully\n\nAll typechecks pass. Ready for review. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
f4fd64a to
fab3aed
Compare
|
Status update: implementation is complete and linked issue coverage remains intact ( Current blocker is CI only:
No new code changes pending on this PR right now. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
fab3aed to
892d61e
Compare
Clean up SDK event listeners on unmount in TUI sync context and improve Slack bot session management to prevent leaks. TUI changes (sync.tsx): - Store unsubscribe function from sdk.event.listen() - Call unsubscribe in onCleanup handler Slack changes: - Add lastUsed timestamp to sessions - Add periodic cleanup of old sessions (1 hour timeout) - Add graceful shutdown handlers for SIGINT/SIGTERM - Limit max sessions to prevent unbounded growth
892d61e to
40a921c
Compare
|
Closing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Memory leak: TUI and Slack bot event listeners not cleaned up
There was an error while loading. Please reload this page.