Skip to content

TcpClient.Close() throws ObjectDisposedException when disposing of the writer #7

Description

@jupjohn

I've encountered a crash when calling ITwitchClient.Disconnect() where TcpClient.Close() (all implementations) will throw when disposing of the StreamWriter. This seems to be caused by the line before that disposes of the client's StreamReader which indirectly closes the SslStream shared with the StreamWriter.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions