Skip to content

Commit

Permalink
fix: fixed premature JDBCClient close
Browse files Browse the repository at this point in the history
  • Loading branch information
red-bashmak committed Nov 29, 2021
1 parent 1e3be17 commit d82ae11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# suppress inspection "UnusedProperty"
sbt.version=1.3.13
sbt.version=1.5.5
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ import ru.tinkoff.load.jdbc.db.JDBCClient
case class JdbcComponents(client: JDBCClient) extends ProtocolComponents {
override def onStart: Session => Session = Session.Identity

override def onExit: Session => Unit = _ => client.close()
override def onExit: Session => Unit = _ => ()
}

0 comments on commit d82ae11

Please sign in to comment.