Skip to content

Rack 2 should not use to_ary.#36

Merged
ioquatix merged 3 commits intomainfrom
enumerable-rack2-to_ary-fix
Mar 30, 2026
Merged

Rack 2 should not use to_ary.#36
ioquatix merged 3 commits intomainfrom
enumerable-rack2-to_ary-fix

Conversation

@ioquatix
Copy link
Copy Markdown
Member

@ioquatix ioquatix commented Mar 30, 2026

Rack 2 does not specify to_ary, and as such, while calling it works, it does not invoke #close, leading to resource leaks.

Types of Changes

  • Bug fix.

Contribution

@ioquatix ioquatix changed the title Enumerable rack2 to ary fix Rack 2 should not use to_ary. Mar 30, 2026
@ioquatix ioquatix merged commit b1ad3f2 into main Mar 30, 2026
90 of 94 checks passed
@ioquatix ioquatix deleted the enumerable-rack2-to_ary-fix branch March 30, 2026 23:31
ioquatix added a commit that referenced this pull request Mar 30, 2026
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