Skip to content

Commit a7a3a29

Browse files
committed
Ensure getting the description doesn't require the pool to be open.
JAVA-3657 JAVA-3616, JAVA-3647
1 parent c803331 commit a7a3a29

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

driver-core/src/main/com/mongodb/internal/connection/DefaultConnectionPool.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,6 @@ public void onResult(final ResponseBuffers result, final Throwable t) {
510510

511511
@Override
512512
public ConnectionDescription getDescription() {
513-
isTrue("open", !isClosed.get());
514513
return wrapped.getDescription();
515514
}
516515
}

0 commit comments

Comments
 (0)