Skip to content

Commit 377e863

Browse files
author
Alexandre Dutra
committed
IdemtpotenceAwareRetryPolicy should close child policy.
This is a ninja-fix for an oversight when the pull request for JAVA-819 was merged.
1 parent b427d3a commit 377e863

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

driver-core/src/main/java/com/datastax/driver/core/policies/IdempotenceAwareRetryPolicy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public void init(Cluster cluster) {
7373

7474
@Override
7575
public void close() {
76-
// nothing to do
76+
childPolicy.close();
7777
}
7878

7979
/**

0 commit comments

Comments
 (0)