mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 17:00:34 +05:00
Mesh object not deleted in Python + deleting temporary folder when destructing SMESH_Mesh
This commit is contained in:
parent
3a97cee0d2
commit
e0859e6a65
@ -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);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1642,7 +1642,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