Close connections before closing the whole cluster client.

This commit is contained in:
Jon Chambers authored and Jon Chambers committed 2020-08-06 11:22:31 -04:00
1 parent bf1b00b163
commit e0f8a28f38
1 file changed
+3
@@ -56,6 +56,9 @@ public class FaultTolerantRedisCluster {
}
void shutdown() {
stringClusterConnection.close();
binaryClusterConnection.close();
clusterClient.shutdown();
}