mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: MeshObject: revert 17fe55a7c9.
This fixed the MeshObject on Time but produced problems for the non-regIOobject MeshObjects.
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user