[PR #5742] [MERGED] Make sure we don't try to remove tabs when they don't exist #26435

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/5742
Author: @DHowett-MSFT
Created: 5/4/2020
Status: Merged
Merged: 5/5/2020
Merged by: @DHowett-MSFT

Base: masterHead: dev/duhowett/dont_crash_me_bro


📝 Commits (1)

  • bfabff9 Make sure we don't try to remove tabs when they don't exist

📊 Changes

1 file changed (+5 additions, -3 deletions)

View changed files

📝 src/cascadia/TerminalApp/TerminalPage.cpp (+5 -3)

📄 Description

This was an oversight.

Fixes #5738

PR Checklist

Validation Steps Performed

It looks like this happens when you close a tab while that tab is being closed. I tried that hella.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/5742 **Author:** [@DHowett-MSFT](https://github.com/DHowett-MSFT) **Created:** 5/4/2020 **Status:** ✅ Merged **Merged:** 5/5/2020 **Merged by:** [@DHowett-MSFT](https://github.com/DHowett-MSFT) **Base:** `master` ← **Head:** `dev/duhowett/dont_crash_me_bro` --- ### 📝 Commits (1) - [`bfabff9`](https://github.com/microsoft/terminal/commit/bfabff91247e8de84ef6ca383153e61214a89bb6) Make sure we don't try to remove tabs when they don't exist ### 📊 Changes **1 file changed** (+5 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalApp/TerminalPage.cpp` (+5 -3) </details> ### 📄 Description This was an oversight. Fixes #5738 ## PR Checklist * [x] Closes #5738 * [x] CLA * [ ] Tests added/passed * [ ] Requires documentation to be updated * [x] I've discussed this with core contributors already ## Validation Steps Performed It looks like this happens when you close a tab _while that tab is being closed_. I tried that hella. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:16:07 +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#26435