Skip to content

System.Data.SqlClient.TdsParser contains but fails to properly own an AutoResetEvent #16386

@Dmitry-Me

Description

@Dmitry-Me

System.Data.SqlClient.TdsParser has this member:

  internal AutoResetEvent _resetConnectionEvent = null;  // Used to serialize executes and call reset on first execute only.

AutoResetEvent is IDisposable, yet nothing is done to have Dispose() called.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions