Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Reset pool slice #2640

Merged
merged 2 commits into from
Nov 3, 2023
Merged

fix: Reset pool slice #2640

merged 2 commits into from
Nov 3, 2023

Conversation

bryanhuhta
Copy link
Contributor

In #2632 I added a memory leak example, but didn't properly reset the pool, causing the slice to grow unbounded and create panics when we tried to close channels that were already closed.

@bryanhuhta bryanhuhta self-assigned this Nov 3, 2023
@bryanhuhta bryanhuhta requested a review from a team as a code owner November 3, 2023 22:46
@bryanhuhta bryanhuhta enabled auto-merge (squash) November 3, 2023 22:47
@bryanhuhta bryanhuhta merged commit 73b7166 into main Nov 3, 2023
16 checks passed
@bryanhuhta bryanhuhta deleted the fix-rideshare branch November 3, 2023 22:58
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.

None yet

2 participants