Closed anba closed 1 year ago
That was an oversight. In fact it looks like I actually neglected to call it ever, not just those two methods. Is there something special about those two?
Either way I think the right thing will be to call it in every method that calls GetKeysIterator
. That's kind of annoying but I think it's the right behavior.
The other callers don't have any early returns and also don't have any abrupt completions (except for IteratorStep
and IteratorValue
, which are ignored for IteratorClose
).
Ah, yes, thanks.
Set.prototype.isSupersetOf and Set.prototype.isDisjointFrom don't call IteratorClose, but instead directly return after calling SetDataHas. If this is intentional, it should probably be explicitly noted.