mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-21 22:13:25 -06:00
#6992 Fix crash in application cleanup when using command files.
This commit is contained in:
parent
4d97abaa58
commit
dc0607dfd3
@ -161,6 +161,14 @@ RiuMainWindow::RiuMainWindow()
|
||||
dockTimer->start( 1000 );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RiuMainWindow::~RiuMainWindow()
|
||||
{
|
||||
setPdmRoot( nullptr );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -79,6 +79,7 @@ class RiuMainWindow : public RiuMainWindowBase
|
||||
|
||||
public:
|
||||
RiuMainWindow();
|
||||
~RiuMainWindow();
|
||||
|
||||
static RiuMainWindow* instance();
|
||||
|
||||
|
@ -91,6 +91,14 @@ RiuPlotMainWindow::RiuPlotMainWindow()
|
||||
// caf::CmdExecCommandManager::instance()->enableUndoCommandSystem(true);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RiuPlotMainWindow::~RiuPlotMainWindow()
|
||||
{
|
||||
setPdmRoot( nullptr );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -57,6 +57,7 @@ class RiuPlotMainWindow : public RiuMainWindowBase
|
||||
|
||||
public:
|
||||
RiuPlotMainWindow();
|
||||
~RiuPlotMainWindow();
|
||||
|
||||
QString mainWindowName() override;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user