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

More Python/Signal shutdown crash fixes #5756

Merged
merged 3 commits into from
Mar 28, 2024

Conversation

johnhaddon
Copy link
Member

Hopefully these are the last ones? 🤞 The Dispatcher one we caught in the wild, and the Display one I found by searching for static signals.

This is yet another example of can't-destroy-a-PyObject-after-python-has-shut-down.
@johnhaddon johnhaddon requested a review from ericmehl March 28, 2024 12:49
@johnhaddon johnhaddon self-assigned this Mar 28, 2024
On Windows, we need to import `Gaffer` before `IECoreImage`, because we do the required `add_dll_directory()` in Gaffer, and that needs doing before `IECore` imports `imath`.
@ericmehl
Copy link
Collaborator

LGTM.

Just noting that there's a static signal left in GafferUI::View, but as far as I can tell it's not available to Python, so it shouldn't have the shutdown problems.

@ericmehl ericmehl merged commit a9d466c into GafferHQ:main Mar 28, 2024
5 checks passed
@johnhaddon johnhaddon deleted the dispatcherSignalsShutdown branch April 25, 2024 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants