Elffuss BraidHub

kikocis/java-driver public

Added shutdown invocation on underlying executor. Addresses JAVA-516
Changesetb7363fa918b50de8cc66cba543822e088f3858154b0a1e7f9b756d203514252c
Authorzznate <zznate.m@gmail.com> · 2014-10-21 13:48 +01:00
Committerolim7t <omichallat+github@gmail.com> · 2014-10-23 11:01 +02:00
Parents598ffc9c7bec

Browse the files at this changeset

1 file changed

modified driver-core/src/main/java/com/datastax/driver/core/policies/LatencyAwarePolicy.java +1 −0
@@ -693,5 +693,6 @@
693693 public void close() {
694694 if (childPolicy instanceof CloseableLoadBalancingPolicy)
695695 ((CloseableLoadBalancingPolicy)childPolicy).close();
696+ updaterService.shutdown();
696697 }
697698 }