Skip to content

Commit f6b3a77

Browse files
committed
Fixed double closing of connections
1 parent 27b8cf8 commit f6b3a77

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/org/javawebstack/orm/connection/pool/PooledSQL.java

+3
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ public void close(ResultSet resultSet) {
4848
}
4949

5050
public void close() {
51+
if (closed)
52+
return;
53+
5154
pool.release(connection);
5255
closed = true;
5356
}

0 commit comments

Comments
 (0)