Import 2017-06-07 23:51:09: master 4a241b04

Author Committer Branch Timestamp Parent
lassoan lassoan master 2017-05-25 11:31:37 master 13473a51
Changeset

BUG: Fixed crash during application exit in SubjectHierarchy PluginHandler

On application exit, qSlicerSubjectHierarchyPluginHandler is deleted before
subject hierarchy node is deleted. Deletion of the node caused the callback command
to execute and call qSlicerSubjectHierarchyPluginHandler::onSubjectHierarchyNodeEvent,
which referred to the deleted pluginHandler.

Solution was to remove observers in the pluginHandler destructor.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@26046 3bd1e089-480b-0410-8dfb-8563597acbee

mod - Modules/Loadable/SubjectHierarchy/Widgets/qSlicerSubjectHierarchyPluginHandler.cxx Diff File