Skip to content

Commit

Permalink
Merge branch 'master' into fix_close_item_context
Browse files Browse the repository at this point in the history
  • Loading branch information
asmyasnikov authored Dec 23, 2024
2 parents 3adc8ad + ee17f9a commit f734273
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
* Fixed connections pool leak on closing sessions
* Fixed an error in logging session deletion events

## v3.95.3
* Supported of `database/sql/driver.Valuer` interfaces for params which passed to query using sql driver
Expand Down
2 changes: 1 addition & 1 deletion internal/table/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ func (s *session) Close(ctx context.Context) (err error) {
s,
)
defer func() {
s.SetStatus(table.SessionClosed)
onDone(err)
s.SetStatus(table.SessionClosed)
}()

if time.Since(s.LastUsage()) < s.config.IdleThreshold() {
Expand Down

0 comments on commit f734273

Please sign in to comment.