The C# client code does not correctly clean up the transport used, so the programmer has to take care on his own about this. This may even lead to a program hang in certain scenarios. Furthermore, the generated client should support IDisposable.
Note that in contrast, the server side handles this automatically without any explicit manual coding.
- modify generated code to add IDisposable support
- modify TProtocol to add IDisposable support
- update the tutorial code accordingly