You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The HydratingIterator and CachingIterator classes use generators to wrap the given traversable. As described in #2092 and fixed in #2100, this can leak memory if the iterator class is destroyed while the generator isn't exhausted completely.
IteratorIterator can be used instead, but since there are some changes to generators with respect to rewind, the change shouldn't be done in a patch release.
The text was updated successfully, but these errors were encountered:
Feature Request
Summary
The
HydratingIterator
andCachingIterator
classes use generators to wrap the given traversable. As described in #2092 and fixed in #2100, this can leak memory if the iterator class is destroyed while the generator isn't exhausted completely.IteratorIterator
can be used instead, but since there are some changes to generators with respect to rewind, the change shouldn't be done in a patch release.The text was updated successfully, but these errors were encountered: