"Closing the window is taking a bit longer..." with SonarQube plugin since VSCode 1.113.0

  • Operating system: macOS 26.3.1 (a)
  • SonarQube for VS Code plugin version: 4.45.0
  • Programming language you’re coding in: NodeJS/Javascript
  • Is connected mode used: yes, SonarQube Community Build v26.2.0.119303

And a thorough description of the problem / question:

Since the VS Code app update to 1.13.0 yesterday, closing any workspace now leads to a few-second pause which ends up displaying a VS Code modal dialog reading “Closing the window is taking a bit longer…” and saying that it was having trouble stopping extension hosts:

Disabling all extensions made it go away, so then after doing a binary whittling down of running extensions, it’s reliably the SonarQube for IDE extension that’s responsible — if I disable it, closing a workspace is instant again, and if I re-enable it, I get the same issue.

(Note that the workspace closes in the end… it’s just the delay that’s new.)

Happy to help debug this however might be helpful!

Hi,

Thanks for this report!

Could we get a verbose log from IDE startup through to the problem?

 
Thx,
Ann

How can I send them?

Actually, let’s table this. This feels less like one specific extension, and more like the latest VSCode (1.113.0) is having issues with closing workspaces that have multiple extensions that are running host processes and need to close down. I just was able to repro this with another extension being the “cause”, and in the end, it looks like the problem arises once I have more than some critical number (maybe 3-4) that have host processes running.

1 Like

Hi,

Thanks for that update. It’s very helpful! I’ll make sure the dev team is aware.

 
:star_struck:
Ann

For reference, here’s the vscode issue I raised.

1 Like

Hi @delfuego,

Thanks for reporting and investigating further. As VSCode maintainers pointed out in the issue you raised:

Apologies the regression was from refactoring the extension host lifecycle to #296681

The regression has been addressed in our insiders with #304249 and will be available in 1.114 stable releasing tomorrow.

I will consider this thread solved.

Thanks for using our products!