Skip to content

[QUIC] Erroneous flow of inbound MsQuicStream ctor doesn't release safe handle #55814

@ManickaP

Description

@ManickaP

Source: Coder review session

catch
{
_state.StateGCHandle.Free();
throw;
}

See ctor for outbound, it does release it.

It should not matter that we're doing it on msquic thread.

Alternative: Return a specific error code in MsQuicConnection to clean the handle for us.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.Net.QuicenhancementProduct code improvement that does NOT require public API changes/additions

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions