Skip to content

Closing a connection after having closed then recreated a connection should not throw #27

@odalet

Description

@odalet

The code below throws. It shouldn't!

var factory = new FakeConnectionFactory();
var connection = factory.CreateConnection();
connection.Close();

connection = factory.CreateConnection();
connection.Close(); // This throws, saying the connection is already closed!

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