On quitting the application there is sometimes a crash in the QmitkFileSaveaction.
The following behaviour does mostly reproduce the crash:
- Delete temporary files
- Start application
- Open View Navigator
- Randomly open several perspectives using it
- Open a couple of views using it
- Close application
Crash happens in
~QmitkFileSaveActionPrivate()
{ m_Window.Lock()->GetSelectionService()->RemoveSelectionListener(m_SelectionListener); }
the second time it is called.
It seems to be always be called two time. Usually both times m_Window is valid. When a crash happens m_Window is Null the second time the destructor is called.