protected override void Dispose(bool disposing) { base.Dispose(disposing); if (tcpClient != null) { tcpClient.Close(); tcpClient = null; } if (outputPump != null) { outputPump.Dispose(); outputPump = null; } }
protected override void Dispose(bool disposing) { base.Dispose(disposing); if (pipeServer != null) { pipeServer.Close(); pipeServer = null; } if (outputPump != null) { outputPump.Dispose(); outputPump = null; } }