Skip to content
Snippets Groups Projects
Commit 606ef0db authored by mattijs's avatar mattijs Committed by Andrew Heather
Browse files

BUG: MeshObject: revert 17fe55a7.

This fixed the MeshObject on Time but produced problems for the
non-regIOobject MeshObjects.
parent f3eaf29e
No related branches found
No related tags found
No related merge requests found
...@@ -106,8 +106,8 @@ Foam::MeshObject<Mesh, MeshObjectType, Type>::~MeshObject() ...@@ -106,8 +106,8 @@ Foam::MeshObject<Mesh, MeshObjectType, Type>::~MeshObject()
{ {
// We should not do a 'release' at this point since that will upset // We should not do a 'release' at this point since that will upset
// the destructor of regIOobject itself (which gets called after this). // the destructor of regIOobject itself (which gets called after this).
// This now would no longer have the owned-by-registry setting so // However this is only a problem for Time-based MeshObject.
// will not clean up after itself MeshObjectType<Mesh>::release();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment