Remove unnecessary socket.pause()
calls
This commit is contained in:
parent
be87ebcd0d
commit
8dbd9d0ee6
|
@ -110,7 +110,6 @@ export class ExtensionHostConnection {
|
|||
this._remoteAddress = remoteAddress;
|
||||
this._extensionHostProcess = null;
|
||||
this._connectionData = ExtensionHostConnection._toConnectionData(socket, initialDataChunk);
|
||||
this._connectionData.socket.pause();
|
||||
|
||||
this._log(`New connection established.`);
|
||||
}
|
||||
|
@ -156,7 +155,6 @@ export class ExtensionHostConnection {
|
|||
this._remoteAddress = remoteAddress;
|
||||
this._log(`The client has reconnected.`);
|
||||
const connectionData = ExtensionHostConnection._toConnectionData(_socket, initialDataChunk);
|
||||
connectionData.socket.pause();
|
||||
|
||||
if (!this._extensionHostProcess) {
|
||||
// The extension host didn't even start up yet
|
||||
|
|
|
@ -165,7 +165,7 @@ workbenchContributionsRegistry.registerWorkbenchContribution(RemoteLogOutputChan
|
|||
workbenchContributionsRegistry.registerWorkbenchContribution(TunnelFactoryContribution, LifecyclePhase.Ready);
|
||||
workbenchContributionsRegistry.registerWorkbenchContribution(ShowCandidateContribution, LifecyclePhase.Ready);
|
||||
|
||||
const enableDiagnostics = false;
|
||||
const enableDiagnostics = true;
|
||||
|
||||
if (enableDiagnostics) {
|
||||
class TriggerReconnectAction extends Action2 {
|
||||
|
|
Loading…
Reference in a new issue