Skip to content

"Do you want to terminate the active terminal session?" on close for background terminals #235575

@wjandrea

Description

@wjandrea

Type: Bug

Behaviour

Popup on close: "Do you want to terminate the active terminal session?" even though none are running

Steps to reproduce:

  1. Set python.languageServer = Jedi (or Default if Pylance is not available)
  2. Make sure Jedi is running, for example, lint a Python script
  3. Try to exit VSC window

Diagnostic data

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

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:

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitiesterminal-processProblems launching processes, managing ptys, exiting, process leaks, etc.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions