Elffuss BraidHub

kikocis/java-driver public

Merge pull request #240 from zznate/latency-aware-shutdown

Added shutdown invocation on underlying executor. Addresses JAVA-516
Changeseta2cee34f1f7669edf10abe1086ecac4d125a6d0a55a4053bc0963fe13c2fdf93
AuthorOlivier Michallat <olim7t@users.noreply.github.com> · 2014-10-23 10:59 +02:00
CommitterOlivier Michallat <olim7t@users.noreply.github.com> · 2014-10-23 10:59 +02:00
Parentsdd1b91eb9438, 7fd6e7576530

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 }