Page MenuHomePhabricator

QmitkFunctionality destructor not called
Closed, ResolvedPublic

Description

The QmitkFunctionality class registers itself as a selection provider, hence introducing a smart-pointer cycle which prevents its deletion.

Related Objects

Event Timeline

[SVN revision 21934]
ENH (#3459): added a test for QmitkFunctionality

Michi, this test fails because of some QmitkFunctionality::NodeRemovedProxy problems. Could you look into it? The test basically requires that the desctructor of a QmitkFunctionality derived class is called.

You can invoke the test via:

CoreApp /BlueBerry.application=uitestapplication /BlueBerry.testapplication=org.mitk.qt.application /BlueBerry.testplugin=org.mitk.gui.qt.common.tests

[SVN revision 21935]
FIX (#3459): adding missing file

[SVN revision 21981]
FIX (#3459): ClosePart is now called from the destructor to garantuee that it is also called when the whole app is closed. adapted documentation. test can now be Activated

[SVN revision 21983]
FIX (#3459): enabling unit test for QmitkFunctionality

Unit test is up and running. Closing bug.