1.2.2: Fix connection leak when for invocations outside of Rails executor (№2)
Fixed
-
Connection leak from the connection pool when
after_commit
called outside Rails executor without connection checked out and some connections were already checked out from another threads.See discussion at issue #20 for details.
Pull request #22 by [@Envek][].