Skip to content

Commit 25bbac5

Browse files
committed
fix pool a bit
1 parent e7bd260 commit 25bbac5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/com/mongodb/util/SimplePool.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ private T _get( long waitTime ){
170170
else if ( ! couldCreate ) {
171171
throw new IllegalStateException( "can't pick nothing if can't create" );
172172
}
173+
break;
173174
}
174175

175176
if ( couldCreate ){

0 commit comments

Comments
 (0)