icerpc / icerpc-csharp

A C# RPC framework built for QUIC, with bidirectional streaming, first-class async/await, and Protobuf support.
https://docs.icerpc.dev
Apache License 2.0
94 stars 13 forks source link

Clear interceptor/middleware stack #4010

Closed bernardnormier closed 1 month ago

bernardnormier commented 1 month ago

This little clean-up PR cleans the interceptor and middleware stack once the pipeline in created.

This way, any memory held by these functions can be GCed immediately.