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.
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.