Skip to content

Commit

Permalink
make finalisation explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvanmele committed May 14, 2024
1 parent 29c62fa commit 3b412ab
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/compas_gmsh/models/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ def __init__(self, name: Optional[str] = None, verbose: bool = False) -> None:
self.mesh = gmsh.model.mesh
self.occ = gmsh.model.occ

def __del__(self):
# def __del__(self):
# gmsh.finalize()

def destroy(self):
gmsh.finalize()

@property
Expand Down

0 comments on commit 3b412ab

Please sign in to comment.