mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 10:20:34 +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;
|
pthread_t thread;
|
||||||
int result=pthread_create(&thread, NULL, deleteMeshDS, (void*)_meshDS);
|
int result=pthread_create(&thread, NULL, deleteMeshDS, (void*)_meshDS);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
fs::remove_all(tmp_folder);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1621,7 +1621,7 @@ class Mesh(metaclass = MeshMeta):
|
|||||||
Destructor. Clean-up resources
|
Destructor. Clean-up resources
|
||||||
"""
|
"""
|
||||||
if self.mesh:
|
if self.mesh:
|
||||||
#self.mesh.UnRegister()
|
self.mesh.UnRegister()
|
||||||
pass
|
pass
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user