Open omajid opened 2 weeks ago
Tagging subscribers to this area: @dotnet/area-system-io See info in area-owners.md if you want to be subscribed.
we don't Dispose() the serverHandle or the clientHandle.
We don't, but for clarity it's not a leak: they'll still be finalized.
https://github.com/dotnet/runtime/blob/98e75704a85bfe4a71dd5932c8a2e5f860a09d05/src/libraries/System.IO.Pipes/src/System/IO/Pipes/AnonymousPipeServerStream.Unix.cs#L20-L50
If we hit that throw condition, we don't Dispose() the serverHandle or the clientHandle.