EventStore / EventStoreDB-Client-Java

Official Asynchronous Java 8+ Client Library for EventStoreDB 20.6+
https://eventstore.com
Apache License 2.0
63 stars 19 forks source link

Issue-183 Fix/simplify channel lifecycle behavior. #184

Closed dpasek-senacor closed 2 years ago

dpasek-senacor commented 2 years ago

PR for https://github.com/EventStore/EventStoreDB-Client-Java/issues/183

Simply always use closeConnection() (renamed to closeChannel) if existing channel instance should be discarded.