gitpod-io / openvscode-server

Run upstream VS Code on a remote machine with access through a modern web browser from any device, anywhere.
https://www.gitpod.io/
MIT License
5.1k stars 440 forks source link

--enable-remote-auto-shutdown does not work #580

Open Migili opened 1 month ago

Migili commented 1 month ago

Does this issue occur when all extensions are disabled?: Yes/No

Steps to Reproduce:

  1. Use openvscode-server version 1.93.1
  2. Start openvscode-server with --enable-remote-auto-shutdown and --remote-auto-shutdown-without-delay
  3. Open the link for openvscode-server
  4. Close the link for openvscode-server

Expected behaviour: the process is terminated Actual behaviour: the process is still running

Up to version 1.92.1 the expected behaviour is the actual behaviour. With version 1.93.1 I get the following output: 729170286.879994 [15:04:46] [10.200.1.1][d77c1d53][ManagementConnection] New connection established. 1729170286.8913474 [15:04:46] [10.200.1.1][b76eaca8][ExtensionHostConnection] New connection established. 1729170286.9022765 [15:04:46] [10.200.1.1][b76eaca8][ExtensionHostConnection] <141894> Launched Extension Host Process. 1729170323.5907109 [15:05:23] [10.200.1.1][d77c1d53][ManagementConnection] The client has disconnected gracefully, so the connection will be disposed.