Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Orphaned process after closing the code-server browser tab

Aberta
#7,447 10 comentários 1 reação 1 responsável Ver no GitHub

@code-asher já está trabalhando nisso.

Desde 14/8/2025.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

bug triage
Is there an existing issue for this?
  • I have searched the existing issues
OS/Web Information
  • Web Browser: edge
  • Local OS: windows
  • Remote OS: linux
  • Remote Architecture: amd64
  • code-server --version: 4.100.0
Steps to Reproduce
  1. A standard scala project with metals and bloop
  2. kick off a run through vscode launch configs
  3. close the browser tab
Expected

All the processes launched by that browser sessions should be killed and cleaned up after the browser closure

Actual

The process are still running in the background with unclear states, and there is no way to "reconnect" to the orphaned processes

Logs

Screenshot/Video

No response

Does this bug reproduce in native VS Code?

No, this works as expected in native VS Code

Does this bug reproduce in GitHub Codespaces?

I did not test GitHub Codespaces

Are you accessing code-server over a secure context?
  • I am using a secure context.
Notes

I believe for vscode desktop, closing the editor will close all the "tasks" launched by vscode, but that doesn't appear to be the case for code-server. This applies to all the 3rd party extensions, and it is pretty bad because it basically leaks resources.

Also for certain applications that want to make sure there is only one process running at all time, and failure to clean up the resources actually impacts the functionalities.

Linguagem predominante
TypeScript
Estrelas
79.4k
Forks
6.9k
Merge médio
2d 13h
PRs com merge (30d)
39

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de coder/code-server

Todas as issues de coder/code-server

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.