Closed bjorndarri closed 8 months ago
Can you add a unit test for this change?
I actually don't know what the duplicate connection is in there. It looks oddly intentional, but removing it seems like a good idea.
It's an obvious typo fix, It's safe enough if it doesn't fail other tests.
Fixes #2152
Duplicate connection in try with resources clause caused close() being called twice on each connection.