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

BUG: MeshObject: revert 17fe55a7c9df0aac9b32ff256fc97b4552dfb383.

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