I am trying to use a dockControl with a PySide UI that uses a ScriptJob to update aspects of the UI.
I am running into problems getting the scriptJob to die when the UI is closed - the scriptjob is persisting.
I’ve tried parenting the scriptJob to the dockControl - doesn’t work.
I’ve tried killing the scriptjob when the QMainWindow is closed through the closeEvent, but the closeEvent is not triggered when the dockControl is closed.
I am using Maya 2014 sp3. Any advice?