Commit 6fb2524
committed
fix: close old JDBC connection before reconnecting The previous connection object was discarded with connection = null without calling close(), leaking the server-side HANA session on every reconnect. The connection is now closed (ignoring any close error) before the field is cleared.
1 parent d95cd8b commit 6fb2524
1 file changed
Lines changed: 3 additions & 0 deletions
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
56 | 59 | | |
57 | 60 | | |
58 | 61 | | |
| |||
0 commit comments