mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-15 09:52:11 -05:00
Memory Management : Adjustment and fixes
Add release of several static singleton objects Fix several minor memory leaks
This commit is contained in:
1 parent
7a2a297648
commit
0e57cfe201
36 files changed
+441
-141
No files matched your search
@@ -73,6 +73,19 @@ RiuMainWindowBase::RiuMainWindowBase()
|
||||
connect( m_redoAction, SIGNAL( triggered() ), SLOT( slotRedo() ) );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RiuMainWindowBase::~RiuMainWindowBase()
|
||||
{
|
||||
for ( auto v : m_projectTreeViews )
|
||||
{
|
||||
delete v;
|
||||
}
|
||||
|
||||
m_projectTreeViews.clear();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user