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

Deque<T> should clear the buffer on remove/clear #3

Closed
tejacques opened this issue Nov 11, 2014 · 0 comments
Closed

Deque<T> should clear the buffer on remove/clear #3

tejacques opened this issue Nov 11, 2014 · 0 comments

Comments

@tejacques
Copy link
Owner

Because it doesn't do this, it causes references to those objects to be held until they are overwritten in the Deque or the Deque is collected by the GC.

@tejacques tejacques changed the title When Deque<T> contains class types it should null the buffer on remove/clear Deque<T> should clear the buffer on remove/clear Nov 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant