[PR #1199] Properly manage teardown state in TermControl #24522

Open
opened 2026-01-31 09:03:47 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/1199

State: closed
Merged: Yes


Summary of the Pull Request

This commit introduces a few automatic event revokers and implements staged Close for TermControl's constituent components. It also fixes an issue in reading the title from a tab with no focused control.

Fixes #1198, #1188.

PR Checklist

Validation Steps Performed

I've opened and closed a number of tabs at a number of speeds, I can neither get it to crash nor get it to leak console hosts and shells and a bunch of memory.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/1199 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request This commit introduces a few automatic event revokers and implements staged Close for TermControl's constituent components. It also fixes an issue in reading the title from a tab with no focused control. Fixes #1198, #1188. ## PR Checklist * [x] Closes #1198, #1188 * [x] CLA signed * [x] Tests added/passed/manually tested ## Validation Steps Performed I've opened and closed a number of tabs at a number of speeds, I can neither get it to crash _nor_ get it to leak console hosts and shells and a bunch of memory.
claunia added the pull-request label 2026-01-31 09:03:47 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#24522