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:
parent
f9a00d9961
commit
087f6e153b
@ -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:
|
||||
|
Reference in New Issue
Block a user