From f965fc00cabee34a926771d9a6d9be1052d17968 Mon Sep 17 00:00:00 2001 From: Christophe Bourcier Date: Wed, 16 Nov 2022 11:11:21 +0100 Subject: [PATCH] Remove tmp folder of dual mesh --- src/SMESH_I/SMESH_Gen_i.cxx | 4 ++++ 1 file changed, 4 insertions(+) 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(); } -- 2.39.2