Message 1 of 7

Not applicable
11-29-2016
01:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm creating a dockable window from MayaQWidgetDockableMixin. The window creates and manages some callbacks.
In Maya 2016 the function "dockCloseEventTriggered" was called when the window was closed and I could clean up my callbacks.
But in 2017 this function is not called anymore. I tried using the new "closeCallback" that get's passed to the workspaceControl but it seems the window is already destroyed at this moment and I can't find a way to clean the callbacks. The callbacks remain and keep messing up my scene.
Is there a new way to catch the close event of a MayaQWidgetDockableMixin?
Thanks,
Nico
Solved! Go to Solution.