Return-Path: X-Original-To: apmail-curator-dev-archive@minotaur.apache.org Delivered-To: apmail-curator-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 97E3C10EB0 for ; Tue, 17 Feb 2015 16:07:46 +0000 (UTC) Received: (qmail 15616 invoked by uid 500); 17 Feb 2015 16:07:46 -0000 Delivered-To: apmail-curator-dev-archive@curator.apache.org Received: (qmail 15572 invoked by uid 500); 17 Feb 2015 16:07:46 -0000 Mailing-List: contact dev-help@curator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@curator.apache.org Delivered-To: mailing list dev@curator.apache.org Received: (qmail 15561 invoked by uid 99); 17 Feb 2015 16:07:46 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Feb 2015 16:07:46 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 0C1BFE0379; Tue, 17 Feb 2015 16:07:46 +0000 (UTC) From: madrob To: dev@curator.apache.org Reply-To: dev@curator.apache.org References: In-Reply-To: Subject: [GitHub] curator pull request: CURATOR-157 Avoid stack traces on close Content-Type: text/plain Message-Id: <20150217160746.0C1BFE0379@git1-us-west.apache.org> Date: Tue, 17 Feb 2015 16:07:46 +0000 (UTC) Github user madrob commented on the pull request: https://github.com/apache/curator/pull/51#issuecomment-74693287 I don't think it matters whether or not they actually use the ZK Connection at that point. The important part is that `getState() == State.CLOSED` (as set by T1) and then when the `processBackgroundResult` call happens it will check for `State.STARTED`, which it will be false. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---