> @@ -35,14 +36,33 @@
>     // guice is single threaded. no need to lock this
>     List<Closeable> methodsToClose = Lists.<Closeable> newArrayList();
>  
> +   public enum State {
> +      OPEN,
> +      CLOSING,
> +      CLOSED
> +   }
> +
> +   private final AtomicReference<State> state;
> +
> +   public Closer() {
> +      this.state = new AtomicReference<State>(State.OPEN);

fixed

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/32/files#r4727392

Reply via email to