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

The generic List implementation leaks #1

Closed
anacrolix opened this issue Mar 14, 2023 · 3 comments
Closed

The generic List implementation leaks #1

anacrolix opened this issue Mar 14, 2023 · 3 comments

Comments

@anacrolix
Copy link

Removing the Front and Back Node from the generic List implementation can leave Front and Back set to non-nil values. I suspect there are more specific issues if I dig in. I thought it would be helpful to point out there might be issues before trying to fix them myself for now.

Thanks for the module!

@fufuok
Copy link
Owner

fufuok commented Mar 15, 2023

Thanks, I'll follow up later.

@anacrolix
Copy link
Author

I created https://pkg.go.dev/github.com/anacrolix/generics@v0.0.0-20230314234802-b3aec36ef63e/list to make the features I depended on available again.

@fufuok
Copy link
Owner

fufuok commented Mar 20, 2023

This package is from https://github.com/zyedidia/generic, maybe you can pr.

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

No branches or pull requests

2 participants