>     public void addToClose(Closeable toClose) {
>        methodsToClose.add(toClose);
>     }
>  
> -   public void close() throws IOException {
> +    public synchronized void close() throws IOException {
> +      this.isOpen = false;

yep, I think about this:

Since close can run for a long time, you can get a situation where isOpen true, 
but use context is impossible. What do you think about this situation?


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

Reply via email to