mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3752 Fix crash when closing ResInsight
This commit is contained in:
@@ -143,7 +143,10 @@ Rim3dView::Rim3dView(void)
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
Rim3dView::~Rim3dView(void)
|
||||
{
|
||||
m_viewer->clearRimView();
|
||||
if (m_viewer)
|
||||
{
|
||||
m_viewer->clearRimView();
|
||||
}
|
||||
removeMdiWindowFromMdiArea();
|
||||
|
||||
deleteViewWidget();
|
||||
|
||||
Reference in New Issue
Block a user