Salome HOME
Fix mixed Python dump of a new and a closed study
[modules/smesh.git] / src / SMESH_I / SMESH_Gen_i.cxx
index 5724095..e6ebe05 100644 (file)
@@ -4971,6 +4971,9 @@ void SMESH_Gen_i::Close( SALOMEDS::SComponent_ptr theComponent )
   // remove the tmp files meshes are loaded from
   SMESH_PreMeshInfo::RemoveStudyFiles_TMP_METHOD( theComponent );
 
+  // Clean trace of API methods calls
+  CleanPythonTrace();
+
   return;
 }