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

Use NET5_0_OR_GREATER instead of NET5_0 #74

Closed
wants to merge 1 commit into from

Conversation

starkpl
Copy link

@starkpl starkpl commented Nov 9, 2022

@djluck was it intended to disable collector recycling for targets higher than net5? Could we just use NET5_0_OR_GREATER instead of NET5_0, so that we keep the recycling feature for net6 (and higher)?

@djluck
Copy link
Owner

djluck commented Nov 14, 2022

Hey @starkpl, this was intentional based on advice I received that recycling collectors should be unnecessary in .NET 6.0 and that it can cause crashes: #72 (comment).

However, I'm short on time these days so didn't have the time to independently verify the claims and the efficacy of the fix.

I think this change should be good but there's a few small changes we should make, will leave some comments.

@djluck
Copy link
Owner

djluck commented Nov 14, 2022

@starkpl thanks for your contribution but I went ahead and made these changes with a slight variation: #75. Will close this now as unnecessary.

@djluck djluck closed this Nov 14, 2022
@starkpl
Copy link
Author

starkpl commented Nov 14, 2022

Thanks!

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.

2 participants