Skip to content

Commit

Permalink
conn pool: Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tejainece committed Mar 6, 2019
1 parent a20efe1 commit 93c61cf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions conn_pool/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change log

## 2.1.9

+ Bug fix

## 2.1.5

+ Minor improvements to `SharedPool` release
Expand Down
2 changes: 1 addition & 1 deletion conn_pool/lib/src/pool.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ class SharedPool<T> implements Pool<T> {

Future<Connection<T>> _createNew() async {
var conn = Connection._(this);
_pool.add(1, conn);
T n = await manager.open();
conn._connection = n;
_pool.add(1, conn);
return conn;
}

Expand Down
2 changes: 1 addition & 1 deletion conn_pool/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: conn_pool
description: Manages a pool of connections based several builtin strategies.
version: 2.1.8
version: 2.1.9
homepage: https://github.com/Jaguar-dart/db
author: Ravi Teja Gudapati <[email protected]>

Expand Down

0 comments on commit 93c61cf

Please sign in to comment.