-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GafferUI : Fix crashes during shutdown
All these signals get connected to by Python functions, so will contain slots with a `PyObject *` in them. But Python shuts down _before_ static destructors are run, after which we can't delete the PyObject. The solution is one we've used elsewhere : just "leak" the signal and its connected slots. It's intended to live for the entire lifetime of the app anyway, so it doesn't matter if it's not cleaned up during shutdown.
- Loading branch information
1 parent
c02ce07
commit fff4bda
Showing
3 changed files
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters