Skip to content

Commit

Permalink
reenable destructor
Browse files Browse the repository at this point in the history
  • Loading branch information
ebknudsen committed Oct 10, 2022
1 parent 6af93df commit e4cecaf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/CAD_to_OpenMC/assemblymesher_gmsh.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit e4cecaf

Please sign in to comment.