Skip to content

Dispose Companion UI resources with their owners - #29

Merged
Pelotrio merged 1 commit into
codex/companion-project-switchingfrom
codex/companion-disposal
Sep 11, 2026
Merged

Dispose Companion UI resources with their owners#29
Pelotrio merged 1 commit into
codex/companion-project-switchingfrom
codex/companion-disposal

Conversation

@Pelotrio

@Pelotrio Pelotrio commented Sep 11, 2026

Copy link
Copy Markdown
Member

Closing project windows could retain runtime-status listeners and script popup windows, while some editor cleanup depended on a parent-removal event. This change gives each owner explicit disposal and prevents queued callbacks from updating disposed UI.

Search Everywhere unregisters its listener, script panels own their popups and original result-bus subscriptions, usage views cancel searches explicitly, and Code Vision releases its AST subscription without removing other editor listeners.

Validation: :check :localBundle -PtotaldebugUseMavenLocal=true --offline --warning-mode fail passed, including disposal regressions and packaging checks. No live Minecraft validation or installation.

Part of the native GitHub stack targeting 1.21.1: #27#28 → this PR → #31. This PR contains only the disposal slice from the architecture plan; #31 contains runtime ownership. Review each slice separately and merge dependencies from the bottom of the stack. The uncommitted project-selector/MCP follow-up is excluded.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 11, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-11T14:05:12.843438Z 255e34a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Pelotrio
Pelotrio added this pull request to stack #30 September 11, 2026 14:05
@Pelotrio
Pelotrio merged commit 002a363 into 1.21.1 Sep 11, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant