THRIFT-2303 TBufferredTransport not properly closing underlying transport
Patch: Alex Ausch
diff --git a/lib/csharp/test/ThriftTest/TestClient.cs b/lib/csharp/test/ThriftTest/TestClient.cs
index fe21f41..c7b81b4 100644
--- a/lib/csharp/test/ThriftTest/TestClient.cs
+++ b/lib/csharp/test/ThriftTest/TestClient.cs
@@ -99,7 +99,10 @@
trans = new TBufferedTransport(trans as TStreamTransport);
if (framed)
trans = new TFramedTransport(trans);
-
+
+ //ensure proper open/close of transport
+ trans.Open();
+ trans.Close();
t.Start(trans);
}
else