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

Fixing lifetime issue for grackle_data_path in the Cython Grackle wrapper #80

Merged

Conversation

mabruzzo
Copy link
Collaborator

@mabruzzo mabruzzo commented Jan 29, 2021

Previously the underlying chemistry_data struct was invalidated if the bytearray used to specify the grackle_data_path was garbage collected. The cause of this is discussed at the end of this section of the Cython documentation

I have a couple other minor tweaks that may be worth introducing to Grackle. But those are probably worth discussing offline, before I put them together in a PR.

…pper

Previously the underlying chemistry_data struct was invalidated if the bytearray used to specify the grackle_data_path was garbage collected
@brittonsmith
Copy link
Contributor

This issue has annoyed me for ages! Thanks fixing it once and for all.

@brittonsmith brittonsmith merged commit 6e9b320 into grackle-project:master Feb 1, 2021
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.

None yet

3 participants