Salome HOME
Remove tmp folder of dual mesh
authorChristophe Bourcier <christophe.bourcier@cea.fr>
Wed, 16 Nov 2022 10:11:21 +0000 (11:11 +0100)
committerChristophe Bourcier <christophe.bourcier@cea.fr>
Wed, 16 Nov 2022 10:11:21 +0000 (11:11 +0100)
src/SMESH_I/SMESH_Gen_i.cxx

index 2634540158055a32282a0217e706235199bd9e4a..ffb72b1cd035565aad35ff68192363ffac148082 100644 (file)
@@ -2933,6 +2933,10 @@ SMESH::SMESH_Mesh_ptr SMESH_Gen_i::CreateDualMesh(SMESH::SMESH_IDSource_ptr mesh
     MESSAGE("Dump of groups");
     SMESH::ListOfGroups_var groups = newMesh->GetGroups();
 
+#ifndef _DEBUG_
+  fs::remove_all(tmp_folder);
+#endif
+
   return newMesh._retn();
 }