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

Automatically trigger __disown__() when Python hostfns are bound to models. #975

Merged
merged 2 commits into from
Nov 23, 2022

Conversation

Robadob
Copy link
Member

@Robadob Robadob commented Nov 15, 2022

I wasn't able to trigger the exception, but added a try-catch regardless.

I think I have removed all usages of __disown__() from the Python tests, checked using grep -rnw "tests/" -e "disown".

Closes #498

@ptheywood
Copy link
Member

617 passed, 11 skipped in 310.61s

Linux python tests all pass under linux (Release Seatbelts=ON)

@mondus mondus merged commit 7d38299 into master Nov 23, 2022
@mondus mondus deleted the python_hostfn_outofscope branch November 23, 2022 15:02
Robadob added a commit that referenced this pull request Nov 24, 2022
…ames

BugFix: #975 had failed to address addExitCondition()
Robadob added a commit that referenced this pull request Nov 28, 2022
…ames

BugFix: #975 had failed to address addExitCondition()
Robadob added a commit that referenced this pull request Dec 7, 2022
…ames

BugFix: #975 had failed to address addExitCondition()
Robadob added a commit that referenced this pull request Dec 7, 2022
…ames

BugFix: #975 had failed to address addExitCondition()
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.

SWIG Host Callbacks going out of scope
3 participants