diff --git a/src/CAD_to_OpenMC/assemblymesher_gmsh.py b/src/CAD_to_OpenMC/assemblymesher_gmsh.py index 0f71a98..0bfd3fd 100644 --- a/src/CAD_to_OpenMC/assemblymesher_gmsh.py +++ b/src/CAD_to_OpenMC/assemblymesher_gmsh.py @@ -20,8 +20,9 @@ def __init__(self, min_mesh_size, max_mesh_size, curve_samples, default, mesh_al self.refine=refine self._gmsh_init() self._cq_solids_to_gmsh() - #def __del__(self): - # gmsh.finalize() + + def __del__(self): + gmsh.finalize() def _gmsh_init(self): if not gmsh.isInitialized():