Skip to content

Conversation

jlaanstra
Copy link

@jlaanstra jlaanstra commented May 1, 2025

Code generator assumes the array returned from ArrayPool is exactly the size requested, but in reality it can be larger, resulting in freeing uninitialized GCHandles which throws.

Fix this by switching to for loop instead of foreach.

@anna-is-cute
Copy link

What's currently blocking this PR from being merged?

Our error logs are full of handle not initialised errors due to this, and we had to downgrade to 0.3.162 for the time being, so it would be nice for this to get fixed!

@bricelam
Copy link

bricelam commented Sep 11, 2025

+1 We've been stuck on 0.3.162 for seven months now. This PR has gone five months without comment from the maintainers.

@copilot can you help with this one? :trollface:

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.

3 participants