mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-11 16:19:16 +05:00
Mesh object not deleted in Python + deleting temporary folder when destructing SMESH_Mesh
This commit is contained in:
parent
5e12ae9ef1
commit
44248b7929
@ -240,6 +240,9 @@ SMESH_Mesh::~SMESH_Mesh()
|
||||
pthread_t thread;
|
||||
int result=pthread_create(&thread, NULL, deleteMeshDS, (void*)_meshDS);
|
||||
#endif
|
||||
|
||||
fs::remove_all(tmp_folder);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1621,7 +1621,7 @@ class Mesh(metaclass = MeshMeta):
|
||||
Destructor. Clean-up resources
|
||||
"""
|
||||
if self.mesh:
|
||||
#self.mesh.UnRegister()
|
||||
self.mesh.UnRegister()
|
||||
pass
|
||||
pass
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user