Github user enixon commented on a diff in the pull request:

    https://github.com/apache/zookeeper/pull/529#discussion_r196256868
  
    --- Diff: src/java/main/org/apache/zookeeper/ClientCnxn.java ---
    @@ -1438,6 +1436,11 @@ public void disconnect() {
             }
     
             sendThread.close();
    +        try {
    +            sendThread.join();
    +        } catch (InterruptedException ex) {
    +            LOG.warn("Got interrupted while waiting for the sender thread 
to close", ex);
    +        }
             eventThread.queueEventOfDeath();
    --- End diff --
    
    Sounds good to me - thanks for running the experiment!


---

Reply via email to