Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workaround for crash-on-exit in 6.3v8
Closes #4 (at least for Nuke 6.3v8, older versions will still crash) Keeps weakref to widget, so it can be reopened quickly, and retains state easily. If proper reference is kept, Nuke segfaults on exit with a traceback ending with something like: 0 org.python.python 0x0000000104e87d8e PyErr_Occurred + 14 1 QtCore.so 0x000000010e7c911d QAbstractListModelWrapper::disconnectNotify(char const*) + 31 2 QtCore 0x0000000102c2534c QObject::disconnect(QObject const*, char const*, QObject const*, char const*) + 876 3 QtGui 0x00000001024612ae QItemSelectionModel::~QItemSelectionModel() + 62 4 QtCore 0x0000000102b40bcf QObjectPrivate::deleteChildren() + 95 5 QtGui 0x0000000101fadeac QWidget::~QWidget() + 508 6 QtGui.so 0x000000010eed211c QListViewWrapper::~QListViewWrapper() + 84 7 QtCore 0x0000000102b40bcf QObjectPrivate::deleteChildren() + 95 8 QtGui 0x0000000101fadeac QWidget::~QWidget() + 508
- Loading branch information