scalikejdbc/scalikejdbc — pull request #268 by mauhiz (2014-08-04 04:22:09+00:00)
Title: LoanPattern.using should be able to deal with Futures

The following snippet :
`DB.readonly {session => Future{...}}`
fails because `LoanPattern.using` will close any resources before returning.

This behavior is unexpected and this MR aims to fix it.