THIS LINE apparently causes a crash when an EditorSession with any commands in its QUndoStack is garbage-collected.

Probably related to Qt's object ownership rules. The QUndoStack owns any commands put into it.
This commit is contained in:
David Vierra 2015-03-18 23:41:43 -10:00
parent f9a00d9961
commit 087f6e153b

View File

@ -512,7 +512,6 @@ class MCEditApp(QtGui.QApplication):
tab.setParent(None)
self.removeSessionDockWidgets()
self.undoGroup.removeStack(session.undoStack)
session.undoStack.setParent(None)
self.sessions.remove(session)
gc.collect()
else: