@ -116,6 +116,9 @@ public class RedissonKeys implements RKeys {
if (removeExecuted) {
throw new IllegalStateException("Element been already deleted");
}
if (iter == null) {
throw new IllegalStateException();
iter.remove();
delete(value);
@ -115,9 +115,10 @@ public class RedissonSet<V> extends RedissonExpirable implements RSet<V> {
// lazy init iterator
// hasNext();
RedissonSet.this.remove(value);
removeExecuted = true;