Skip to content

Conversation

ioquatix
Copy link
Member

@ioquatix ioquatix commented Sep 4, 2024

How #close is invoked is a bit tricky. Essentially there are some high level operations that consume a body, and shouldn't be overridden by sub-classes, as self.close should be invoked, if possible, on the very last body in the chain. If a wrapper overrides #each for example, self.close won't refer to the right body.

Types of Changes

  • Semantics.

Contribution

@ioquatix ioquatix closed this Sep 5, 2024
@ioquatix ioquatix deleted the body-handling branch September 5, 2024 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant