#5007 Janitor : Do not call virtual methods from destructors

This commit is contained in:
Magne Sjaastad
2019-11-07 08:48:11 +01:00
parent 0caaaf7159
commit a413f672ec
12 changed files with 99 additions and 30 deletions

View File

@@ -164,7 +164,8 @@ Rim3dView::~Rim3dView( void )
}
removeMdiWindowFromMdiArea();
deleteViewWidget();
delete m_viewer;
m_viewer = nullptr;
}
//--------------------------------------------------------------------------------------------------