Windows Terminal may crash after closing one of its windows by middle-clicking the thumbnail preview in taskbar. #18340
Closed
Description
Windows Terminal version
1.21.3231.0
Windows build number
10.0.22631.4541
Other Software
No response
Steps to reproduce
Windows Terminal may crash after closing one of its windows by clicking on the thumbnail preview in the taskbar. If multiple WT windows are open, they will close together. This issue happens randomly and does not crash every time, so it is difficult to reproduce.
My feedback with dump: https://aka.ms/AAtrunn
Expected Behavior
Close the window I selected
Actual Behavior
Windows Terminal crashes and all terminal windows are lost.