Microsoft/vscode
View on GitHub"Do you want to terminate the active terminal session?" on close for background terminals
Open
#235,575 opened on May 10, 2024
bughelp wantedterminal-process
Repository metrics
- Stars
- (74,848 stars)
- PR merge metrics
- (Avg merge 11h 43m) (1,000 merged PRs in 30d)
Description
Type: Bug
Behaviour
Popup on close: "Do you want to terminate the active terminal session?" even though none are running
Steps to reproduce:
- Set
python.languageServer= Jedi (or Default if Pylance is not available) - Make sure Jedi is running, for example, lint a Python script
- Try to exit VSC window
Diagnostic data
2024-05-10 14:51:01.014 [info] Default formatter is set to ms-python.autopep8 for workspace /home/wja/testdir
2024-05-10 14:51:01.014 [info] Test server listening.
2024-05-10 14:51:01.014 [info] > conda info --json
2024-05-10 14:51:01.014 [info] Python interpreter path: ~/Programs/miniconda3/envs/anaconda3_11+/bin/python
2024-05-10 14:51:01.014 [info] > pyenv which python
2024-05-10 14:51:01.014 [info] cwd: .
2024-05-10 14:51:02.528 [info] > conda run -p ~/Programs/miniconda3/envs/anaconda3_11+ --no-capture-output python ~/.vscode-oss/extensions/ms-python.python-2024.4.1-universal/python_files/get_output_via_markers.py ~/.vscode-oss/extensions/ms-python.python-2024.4.1-universal/python_files/printEnvVariables.py
2024-05-10 14:51:02.529 [info] shell: bash
2024-05-10 14:51:02.911 [info] Starting Jedi language server for testdir.
I did an extension bisect to pin down the Python extension as causing the problem.
I'm using Codium and I'm not sure if this issue affects Code.
Extension version: 2024.4.1 VSCodium version: VSCodium 1.89.0 (4379b66f0d4dd9881ba96fa086f387725b69a24b, 2024-05-06T17:54:09.063Z) OS version: Linux x64 5.4.0-181-generic Modes: