THRIFT-5172 NetStd OutOfMemoryException
Client: netstd
Patch: Eric Bleher
This closes #2093
diff --git a/lib/netstd/Thrift/TBaseClient.cs b/lib/netstd/Thrift/TBaseClient.cs
index 0edac0f..aefb54d 100644
--- a/lib/netstd/Thrift/TBaseClient.cs
+++ b/lib/netstd/Thrift/TBaseClient.cs
@@ -63,7 +63,7 @@
await _inputProtocol.Transport.OpenAsync(cancellationToken);
}
- if (!_inputProtocol.Transport.IsOpen)
+ if (!_outputProtocol.Transport.IsOpen)
{
await _outputProtocol.Transport.OpenAsync(cancellationToken);
}