Skip to content

Commit

Permalink
In close() also set clientInfoAttributeNames = null; so it can be gc-ed.
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdvm committed Jul 31, 2024
1 parent aff47a4 commit 48fa507
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/org/monetdb/jdbc/MonetConnection.java
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ public void close() {
return;

clearWarnings();
clientInfoAttributeNames = null;
dbmd = null;
synchronized (server) {
// Note: An entry in a WeakHashMap will automatically be
Expand Down

0 comments on commit 48fa507

Please sign in to comment.