mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Use deleteChildren() when required to avoid memory leak
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user