DATA-DOG / go-txdb

Immutable transaction isolated sql driver for golang
Other
667 stars 48 forks source link

Implement the Close() method on our connector #63

Closed flimzy closed 8 months ago

flimzy commented 8 months ago

This allows a call to db.Close() to be effective at closing the underlying connections.

This avoids a deadlock with one of my clients, when creating a new DB and closing it for each test. It may not be the best solution, or may need some additional consideration. All feedback welcome.