Skip to content

Add IDisposable to ISftpClient, as well as Connect and Disconnect #1019

Closed
@fjmorel

Description

@fjmorel

SftpClient implements IDisposable, but ISftpClient doesn't. So I can't dispose of clients if I pass one around by interface.

The same thing applies to the Connect and Disconnect methods as well.

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