Skip to content

Dispose SslStream in ShutdownSocket #275

@bgrainger

Description

@bgrainger

It doesn't appear that the SslStream allocated in MySqlSession.InitSslAsync is ever disposed. This might result in native memory leaks.

We probably need to dispose the X509Certificate2 allocated in that method, too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions