Skip to content

Killing tasks does not actually kill them #242891

@johuhype

Description

@johuhype

Type: Bug

When I kill a task in the terminal tab, it gets removed from the lists of running tasks, however starting in one of the recent code versions (probably 1.98.0?), the task does not get killed and is still runing in the background and can also still be found in the windows task manager.

Example: vite dev/hot server. Everytime I kill a server task, it keeps on running. The next time I start it, the used port number will increase due to the previous one still being in use.

VS Code version: Code 1.98.0 (6609ac3, 2025-03-04T21:06:18.612Z)
OS version: Windows_NT x64 10.0.26100
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (12 x 3192)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 47.81GB (33.72GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (14)
Extension Author (truncated) Version
project-manager ale 12.8.0
npm-scripts-advanced dae 0.0.8
vscode-eslint dba 3.0.10
githistory don 0.6.20
gitlens eam 16.3.2
EditorConfig Edi 0.17.1
prettier-vscode esb 11.0.0
i18n-ally lok 2.13.1
materialdesignicons-intellisense luk 4.1.0
git-graph mhu 1.30.0
atom-keybindings ms- 3.3.0
errorlens use 3.24.0
volar Vue 2.2.8
material-theme zhu 3.19.0

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bugregressionSomething that used to work is now brokenterminal-conptyIntegrated terminal issues related to the ConPTY backendunder-discussionIssue is under discussion for relevance, priority, approachwindowsVS Code on Windows issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions