Temporary freeze on close #7187

Closed
opened 2026-01-31 00:57:19 +00:00 by claunia · 2 comments
Owner

Originally created by @runemoberg on GitHub (Mar 29, 2020).

Environment

Windows build number: 10.0.18363.0
Windows Terminal version (if applicable):  0.10.781.0

ssh.exe:  7.7.2.1

Steps to reproduce

  1. Start ssh.exe against any ssh host
  2. While at the login prompt, simply close the tab

Expected behavior

Tab either closes immediately OR terminal lets me interact with other tabs while waiting for ssh.exe to clean up.

Actual behavior

ssh.exe lingers for about 5 seconds. During these five seonds the terminal window freezes and no interaction with other tabs is possible.

Pressing ctrl+c first will terminate ssh.exe immediately, so the issue doesn't manifest itself then. If I had completed the login first, then I'd also avoid this phenomena.

Originally created by @runemoberg on GitHub (Mar 29, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: 10.0.18363.0 Windows Terminal version (if applicable): 0.10.781.0 ssh.exe: 7.7.2.1 ``` # Steps to reproduce 1. Start ssh.exe against any ssh host 2. While at the login prompt, simply close the tab # Expected behavior Tab either closes immediately OR terminal lets me interact with other tabs while waiting for ssh.exe to clean up. # Actual behavior ssh.exe lingers for about 5 seconds. During these five seonds the terminal window freezes and no interaction with other tabs is possible. Pressing ctrl+c first will terminate ssh.exe immediately, so the issue doesn't manifest itself then. If I had completed the login first, then I'd also avoid this phenomena.
claunia added the Resolution-Duplicate label 2026-01-31 00:57:19 +00:00
Author
Owner

@DHowett-MSFT commented on GitHub (Apr 3, 2020):

Thanks for the report! This is a /dupe of #1996, which we have a couple ideas on how to solve. Right now, we're serially waiting for a tab to close in all cases, when we could probably wait only in the full application teardown case (or hand its connection off to a background thread for summary destruction.) We used to murder processes instantly when you closed the tab, but that turned out to be really bad.

@DHowett-MSFT commented on GitHub (Apr 3, 2020): Thanks for the report! This is a /dupe of #1996, which we have a couple ideas on how to solve. Right now, we're serially waiting for a tab to close in all cases, when we could probably wait only in the full application teardown case (or hand its connection off to a background thread for summary destruction.) We used to murder processes instantly when you closed the tab, but that turned out to be really bad.
Author
Owner

@ghost commented on GitHub (Apr 3, 2020):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Apr 3, 2020): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#7187