mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-21 10:01:35 +01:00
* fix: memory leak in pty host service * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * fix * Address PR review comments - Rename ptyHostStore to _ptyHostStore for consistency with other private fields - Simplify _startPtyHost: assign the store inside instead of returning a 3-tuple - Use _optionalProxy in _disposePtyHost to avoid re-spawning during shutdown - Reset __connection/__proxy on dispose - Add regression test that verifies listener counts stay stable across restarts * Minor tweaks * Minor tweaks Co-authored-by: Copilot <copilot@github.com> --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: Dmitriy Vasyura <dmitriv@microsoft.com> Co-authored-by: Copilot <copilot@github.com>