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

Don't access caml values without acquired runtime #36

Merged
merged 1 commit into from
Jan 2, 2018

Conversation

talex5
Copy link
Contributor

@talex5 talex5 commented Jan 2, 2018

We mustn't access the context in a custom block while the runtime is released.
It might be relocated from minor to major heap or during major heap compaction.

Also include string.h for memcpy().

Cherry-picked from #23.

We mustn't access the context in a custom block while the runtime is released.
It might be relocated from minor to major heap or during major heap compaction.

Also include string.h for memcpy().
@djs55 djs55 merged commit 0b633ff into djs55:master Jan 2, 2018
@talex5 talex5 deleted the fix-gc branch January 2, 2018 21:10
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