Skip to content

Conversation

@lhecker
Copy link
Member

@lhecker lhecker commented Aug 20, 2024

  • Adds a check whether the thread dispatcher is already null.
    (See code comments.)
  • Moves the _settings to only happen on the UI thread.
    Anything else wouldn't be thread safe.

Closes #17620

Validation Steps Performed

Not reproducible. 🚫

@microsoft-github-policy-service microsoft-github-policy-service bot added Issue-Bug It either shouldn't be doing this or needs an investigation. Area-Windowing Window frame, quake mode, tearout Priority-1 A description (P1) Product-Terminal The new Windows Terminal. Severity-Crash Crashes are real bad news. labels Aug 20, 2024
@lhecker lhecker merged commit e0dae59 into main Aug 20, 2024
@lhecker lhecker deleted the dev/lhecker/17620-settings-update-crash branch August 20, 2024 18:21
DHowett pushed a commit that referenced this pull request Aug 21, 2024
* Adds a check whether the thread dispatcher is already null.
  (See code comments.)
* Moves the `_settings` to only happen on the UI thread.
  Anything else wouldn't be thread safe.

Closes #17620

## Validation Steps Performed
Not reproducible. 🚫

(cherry picked from commit e0dae59)
Service-Card-Id: PVTI_lADOAF3p4s4AmhmszgSGBis
Service-Version: 1.21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Windowing Window frame, quake mode, tearout Issue-Bug It either shouldn't be doing this or needs an investigation. Priority-1 A description (P1) Product-Terminal The new Windows Terminal. Severity-Crash Crashes are real bad news.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PowerShell crash caused by WindowsTerminal.exe exception

4 participants