Fixed handling of the close state in case it's already closed.
This commit is contained in:
parent
22cdca9131
commit
015c34d865
|
@ -382,6 +382,10 @@ public abstract class IteratingCallback implements Callback
|
|||
return;
|
||||
break;
|
||||
}
|
||||
case CLOSED:
|
||||
{
|
||||
return;
|
||||
}
|
||||
default:
|
||||
{
|
||||
if (_state.compareAndSet(current, State.CLOSED))
|
||||
|
|
Loading…
Reference in New Issue