From: Christophe Bourcier Date: Wed, 16 Nov 2022 10:11:21 +0000 (+0100) Subject: Remove tmp folder of dual mesh X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f965fc00cabee34a926771d9a6d9be1052d17968;p=modules%2Fsmesh.git Remove tmp folder of dual mesh --- diff --git a/src/SMESH_I/SMESH_Gen_i.cxx b/src/SMESH_I/SMESH_Gen_i.cxx index 263454015..ffb72b1cd 100644 --- a/src/SMESH_I/SMESH_Gen_i.cxx +++ b/src/SMESH_I/SMESH_Gen_i.cxx @@ -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(); }