Skip to content

Commit

Permalink
Fix ports not unforwarding
Browse files Browse the repository at this point in the history
  • Loading branch information
alexr00 committed Dec 9, 2019
1 parent 5442190 commit f2655e7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/vs/workbench/services/remote/node/tunnelService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,10 @@ export class TunnelService implements ITunnelService {
if (--existing.refcount <= 0) {
existing.value.then(tunnel => tunnel.dispose());
this._tunnels.delete(tunnel.tunnelRemotePort);
this._onTunnelClosed.fire(tunnel.tunnelRemotePort);
}
} else {
tunnel.dispose();
this._onTunnelClosed.fire(tunnel.tunnelRemotePort);
}
}
};
Expand Down

0 comments on commit f2655e7

Please sign in to comment.