#6992 Fix crash in application cleanup when using command files.

This commit is contained in:
Kristian Bendiksen
2020-11-16 13:41:05 +01:00
committed by Magne Sjaastad
parent 4d97abaa58
commit dc0607dfd3
4 changed files with 18 additions and 0 deletions

View File

@@ -91,6 +91,14 @@ RiuPlotMainWindow::RiuPlotMainWindow()
// caf::CmdExecCommandManager::instance()->enableUndoCommandSystem(true);
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
RiuPlotMainWindow::~RiuPlotMainWindow()
{
setPdmRoot( nullptr );
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------