looplab / eventhorizon

Event Sourcing for Go!
Apache License 2.0
1.59k stars 195 forks source link

Fix / Only close DB clients that are owned #368

Closed maxekman closed 2 years ago

maxekman commented 2 years ago

Description

When a component was created using an existing client that client was closed with the component. Instead the owner of the client should close it.

Affected Components

Related Issues

Solution and Design

Steps to test and verify

coveralls commented 2 years ago

Coverage Status

Coverage decreased (-0.3%) to 68.884% when pulling 415dab3ca2c96714a724573edeb1104762847ef1 on maxekman:fix-client-closes into b6067b214f9cfcea443b54bbf2d16bbfe2977fc5 on looplab:main.