Skip to content

Initailize python interpreter before getting GIL#221

Open
qbisi wants to merge 1 commit intoNGSolve:masterfrom
qbisi:python
Open

Initailize python interpreter before getting GIL#221
qbisi wants to merge 1 commit intoNGSolve:masterfrom
qbisi:python

Conversation

@qbisi
Copy link
Copy Markdown

@qbisi qbisi commented Sep 15, 2025

Should fix segfault when exit netgen main program. See #209

Distro compile netgen main program as a standalone app, so we should make sure python interpreter initialized before getting GIL. This error will not be catched by your offical pypi release whereas netgen is a python script and python interpreter always get initialized.

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.

1 participant