Use deleteChildren() when required to avoid memory leak

This commit is contained in:
Magne Sjaastad
2022-05-31 12:56:45 +02:00
parent 950ec38a14
commit 6a5b9f7300
11 changed files with 14 additions and 14 deletions

View File

@@ -441,7 +441,7 @@ void RimStreamlineInViewCollection::updateStreamlines()
if ( m_shouldGenerateTracers && isActive() )
{
// reset generated streamlines
m_streamlines().clearWithoutDelete();
m_streamlines.deleteChildren();
m_wellCellIds.clear();
// get current simulation timestep