reports that some processes continue running even after the tab has been closed #3109

Closed
opened 2026-01-30 23:13:13 +00:00 by claunia · 3 comments
Owner

Originally created by @r0mflip on GitHub (Aug 4, 2019).

Environment

Windows build number: 10.0.18362.239
Windows Terminal version: 0.3.2142.0
Any other software?
* Clink v0.4.9 [git:2fd2c2] (setup to autoinject, http://mridgers.github.io/clink)
* clink installed by using scoop

Steps to reproduce

  1. Install clink from cmd
$ clink autorun install
  1. Configure terminal default profile to cmd "defaultProfile" : "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}"
  2. Open and close Terminal (UI close button, don't use exit command)

This problem didn't exist in previous public preview build.

Expected behavior

Terminal to exit normally with clink setup.

Actual behavior

Default cmd profile in Terminal with clink setup to autorun, Terminal fails to exit properly and runs in background even after closing.

  • Terminal with clink autorun setup and running normally:
    image

  • Terminal closed normally (UI close button), still running:
    image

When the command exit is used, the terminal exits without the above problem.

Originally created by @r0mflip on GitHub (Aug 4, 2019). # Environment ```none Windows build number: 10.0.18362.239 Windows Terminal version: 0.3.2142.0 Any other software? * Clink v0.4.9 [git:2fd2c2] (setup to autoinject, http://mridgers.github.io/clink) * clink installed by using scoop ``` # Steps to reproduce 1. Install clink from `cmd` ``` bash $ clink autorun install ``` 2. Configure terminal default profile to cmd `"defaultProfile" : "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}"` 3. Open and close Terminal (UI close button, don't use `exit` command) This problem didn't exist in previous public preview build. # Expected behavior Terminal to exit normally with clink setup. # Actual behavior Default `cmd` profile in Terminal with [clink](https://mridgers.github.io/clink/) setup to autorun, Terminal fails to exit properly and runs in background even after closing. * Terminal with clink autorun setup and running normally: ![image](https://user-images.githubusercontent.com/37770235/62421558-2fe52300-b6c1-11e9-96ae-acfc08e0f605.png) * Terminal closed normally (UI close button), still running: ![image](https://user-images.githubusercontent.com/37770235/62421542-05936580-b6c1-11e9-9c23-b044c535ff3e.png) When the command `exit` is used, the terminal exits without the above problem.
claunia added the Help WantedIssue-BugNeeds-Tag-FixProduct-TerminalArea-Interop labels 2026-01-30 23:13:13 +00:00
Author
Owner

@lksilesian commented on GitHub (Aug 4, 2019):

Same behavior here. Also try opening dynamic port forward - it did stuck after closing terminal and started consuming cpu cycles, but i'm unable to reproduce.

pwsh.exe hangs also

@lksilesian commented on GitHub (Aug 4, 2019): Same behavior here. Also try opening dynamic port forward - it did stuck after closing terminal and started consuming cpu cycles, but i'm unable to reproduce. pwsh.exe hangs also
Author
Owner

@DHowett-MSFT commented on GitHub (Aug 5, 2019):

These things should be helped by #2198.

@DHowett-MSFT commented on GitHub (Aug 5, 2019): These things should be helped by #2198.
Author
Owner

@r0mflip commented on GitHub (Sep 1, 2019):

Looks like this is fixed in tag v0.4.2382.0 🎉 by #2198. Closing for now.

@r0mflip commented on GitHub (Sep 1, 2019): Looks like this is fixed in tag `v0.4.2382.0` 🎉 by #2198. Closing for now.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#3109