mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-11 14:04:49 -05:00
forwarding: fix tearing down process too early (#190081)
This commit is contained in:
@@ -276,7 +276,11 @@ class TunnelProvider implements vscode.TunnelProvider {
|
||||
try {
|
||||
const l: { port_format: string } = JSON.parse(line);
|
||||
if (l.port_format && l.port_format !== lastPortFormat) {
|
||||
this.state = { state: State.Active, portFormat: l.port_format, process };
|
||||
this.state = {
|
||||
state: State.Active,
|
||||
portFormat: l.port_format, process,
|
||||
cleanupTimeout: 'cleanupTimeout' in this.state ? this.state.cleanupTimeout : undefined,
|
||||
};
|
||||
progressP.complete();
|
||||
}
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user