Skip to content

Don't access caml values without acquired runtime#36

Merged
djs55 merged 1 commit intodjs55:masterfrom
talex5:fix-gc
Jan 2, 2018
Merged

Don't access caml values without acquired runtime#36
djs55 merged 1 commit intodjs55:masterfrom
talex5:fix-gc

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