[PR #12724] [MERGED] Clear out g.pRender on cleanup so further tests don't explode #29203

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/12724
Author: @DHowett
Created: 3/18/2022
Status: Merged
Merged: 3/19/2022
Merged by: @undefined

Base: mainHead: dev/duhowett/chopped_beef


📝 Commits (1)

  • ea3e788 Clear out g.pRender on cleanup so further tests don't explode

📊 Changes

1 file changed (+2 additions, -1 deletions)

View changed files

📝 src/inc/test/CommonState.hpp (+2 -1)

📄 Description

The x86 Conhost UTs were failing because--when run in a specific order
(SearchTests, then SelectionInputTests)--PrepareGlobalScreenBuffer would
attempt to enable painting on a renderer that was dead and gone and
pushing up daisies.


🔄 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/12724 **Author:** [@DHowett](https://github.com/DHowett) **Created:** 3/18/2022 **Status:** ✅ Merged **Merged:** 3/19/2022 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `dev/duhowett/chopped_beef` --- ### 📝 Commits (1) - [`ea3e788`](https://github.com/microsoft/terminal/commit/ea3e7883697805b98214e38d963021f287e9be45) Clear out g.pRender on cleanup so further tests don't explode ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/inc/test/CommonState.hpp` (+2 -1) </details> ### 📄 Description The x86 Conhost UTs were failing because--when run in a specific order (SearchTests, then SelectionInputTests)--PrepareGlobalScreenBuffer would attempt to enable painting on a renderer that was dead and gone and pushing up daisies. --- <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:33:29 +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#29203