Skip to content

Instantly share code, notes, and snippets.

Created June 14, 2013 22:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/5785644 to your computer and use it in GitHub Desktop.
Save anonymous/5785644 to your computer and use it in GitHub Desktop.
This code leaves leaked "Timer-0" thread
import com.linkedin.norbert.javacompat.cluster.ZooKeeperClusterClient;
ZooKeeperClusterClient cc = new ZooKeeperClusterClient("client", "lobby", '192.168.15.2', 3000);
cc.shutdown();
while (true) {
Thread.yield()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment