<h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: Microsoft Windows [Version 10.0.18362.175]
Windows Terminal version (if applicable):0.3.2171.0"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows [Version 10.0.18362.175]
Windows Terminal version (if applicable):0.3.2171.0
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">Forgive the title - I couldn't think of a good way of articulating it</p>
<ol dir="auto">
<li>Set the default profile to PowerShell</li>
<li>Create a cmd tab</li>
<li>Press enter until the text covers most of the screen</li>
<li>Split the view horizontally</li>
<li>Close the bottom pane</li>
</ol>
<p dir="auto">Does <strong>not</strong> repro if:</p>
<ul dir="auto">
<li>The primary tab's text does not fill the screen</li>
<li>The secondary/bottom pane is not PowerShell</li>
<li>The primary/top pane is Ubuntu/WSL, and exhibits a <a href="https://github.com/microsoft/terminal/issues/2432" data-hovercard-type="issue" data-hovercard-url="/microsoft/terminal/issues/2432/hovercard">different bug</a> if the primary/top pane is PowerShell</li>
<li>The bottom/PowerShell pane loses focus (either to an external window or to the top pane)</li>
</ul>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">The pane closes</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">The UI thread hangs. Screenshots:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/229467/63062746-4f8c0f00-bf3d-11e9-9db8-acc523e1b353.png"><img src="https://user-images.githubusercontent.com/229467/63062746-4f8c0f00-bf3d-11e9-9db8-acc523e1b353.png" alt="pane-crash-1" style="max-width: 100%;"></a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/229467/63062748-5155d280-bf3d-11e9-9e59-e66e8ee6f7e4.png"><img src="https://user-images.githubusercontent.com/229467/63062748-5155d280-bf3d-11e9-9e59-e66e8ee6f7e4.png" alt="pane-crash-2" style="max-width: 100%;"></a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/229467/63062753-531f9600-bf3d-11e9-98aa-4c498e40b2b6.png"><img src="https://user-images.githubusercontent.com/229467/63062753-531f9600-bf3d-11e9-98aa-4c498e40b2b6.png" alt="pane-crash-3" style="max-width: 100%;"></a></p>
<p dir="auto">NOTE: This is different from, but may be related to, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="476508524" data-permission-text="Title is private" data-url="https://github.com/microsoft/terminal/issues/2230" data-hovercard-type="issue" data-hovercard-url="/microsoft/terminal/issues/2230/hovercard" href="https://github.com/microsoft/terminal/issues/2230">#2230</a></p>
<h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: Microsoft Windows [Version 10.0.18362.175]
Windows Terminal version: 0.3.2142.0"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows [Version 10.0.18362.175]
Windows Terminal version: 0.3.2142.0
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<ol dir="auto">
<li>Open a new Windows Terminal instance</li>
<li>Open a second tab using either the "+" button</li>
<li>Close the new tab using CTRL+W, middle clicking the tab, or clicking the tab's "x"</li>
</ol>
<p dir="auto">Repeat steps 2-3 as fast as possible.</p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">Tabs continue to open and close.</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto"><strong>PowerShell</strong> - Most of the time, WT stops responding and interacting with it shows the "WindowsTerminal.exe is not responding" modal</p>
<p dir="auto"><strong>CMD / WSL</strong> - WT stops responding for about 1 second and then exits (also happens for PowerShell sometimes)</p>