microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.63k stars 29.04k forks source link

Terminal processes are no longer stopped on app quit #177341

Closed alexb148 closed 1 year ago

alexb148 commented 1 year ago

Type: Bug

Lately I have found that quitting VS Code suddenly no longer quits processes that were started within the VS Code terminal. For example node processes etc.

I have to manually open Apple Activity Monitor, search for the processes, and force quit them.

This never used to be a problem until a few weeks ago, I assume something has recently changed to cause this issue.

VS Code version: Code 1.76.2 (ee2b180d582a7f601fa6ecfdad8d9fd269ab1884, 2023-03-14T17:53:46.528Z) OS version: Darwin arm64 22.3.0 Modes: Sandboxed: Yes

System Info |Item|Value| |---|---| |CPUs|Apple M1 Pro (10 x 24)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|3, 2, 2| |Memory (System)|16.00GB (0.18GB free)| |Process Argv|--crash-reporter-id cc65307c-93c5-4f93-a8a4-1d4d16701b6d| |Screen Reader|no| |VM|0%|
Extensions (33) Extension|Author (truncated)|Version ---|---|--- multiwindows-highlight|aki|0.0.9 project-manager|ale|12.7.0 vscode-color|ans|0.4.5 swagger-viewer|Arj|3.1.2 vscode-intelephense-client|bme|1.9.5 highlight-line-vscode|cli|0.0.1 vscode-eslint|dba|2.4.0 javascript-ejs-support|Dig|1.3.3 gitlens|eam|13.3.2 settings-on-fire|edb|1.0.3 EditorConfig|Edi|0.16.4 prettier-vscode|esb|9.10.4 auto-close-tag|for|0.5.14 copilot|Git|1.77.9225 twig-language-2|mbl|0.9.2 vscode-postcss-sorting|mrm|3.0.1 vscode-scss|mrm|0.10.0 php-docblocker|nei|2.7.0 indent-rainbow|ode|8.3.1 docthis|oou|0.8.2 ruby|reb|0.28.1 vscode-commons|red|0.0.6 vscode-yaml|red|1.12.1 LiveServer|rit|5.7.9 code-spell-checker|str|2.20.0 open-in-browser|tec|2.0.0 highlight-matching-tag|vin|0.11.0 volar|Vue|1.2.0 vscode-typescript-vue-plugin|Vue|1.2.0 vscode-css-variables|vun|2.6.3 vscode-ruby|win|0.28.0 markdown-all-in-one|yzh|3.5.0 material-theme|zhu|3.15.8 (1 theme extensions excluded)
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492:30256859 vslsvsres303:30308271 pythonvspyl392:30443607 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscorecescf:30445987 pythondataviewer:30285071 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593:30376534 pythonvs932:30410667 cppdebug:30492333 vsclangdf:30486550 c4g48928:30535728 dsvsc012cf:30540253 pynewext54:30681850 azure-dev_surveyone:30548225 vsccc:30610678 pyindex848:30662994 nodejswelcome1cf:30587006 2e4cg342:30602488 pyind779:30671433 f6dab269:30613381 pythonsymbol12:30671437 a9j8j154:30646983 vsctsb:30677850 pythonb192:30669360 functionswalk:30687959 pythonms35cf:30686773 ```
dave-hawkins commented 1 year ago

Also experiencing this issue! I came to GH issues specifically to report what alex is reporting.

meganrogge commented 1 year ago

/duplicate #177044