processorMeshes::read destruct before de-register
Patch contributed by Mattijs Janssens Resolves bug-report http://bugs.openfoam.org/view.php?id=2368
This commit is contained in:
parent
0b3c8e6fb4
commit
daa4d54a49
1 changed files with 5 additions and 5 deletions
|
|
@ -35,11 +35,11 @@ void Foam::processorMeshes::read()
|
|||
// and fields
|
||||
forAll(databases_, proci)
|
||||
{
|
||||
meshes_.set(proci, NULL);
|
||||
pointProcAddressing_.set(proci, NULL);
|
||||
faceProcAddressing_.set(proci, NULL);
|
||||
cellProcAddressing_.set(proci, NULL);
|
||||
boundaryProcAddressing_.set(proci, NULL);
|
||||
boundaryProcAddressing_.set(proci, nullptr);
|
||||
cellProcAddressing_.set(proci, nullptr);
|
||||
faceProcAddressing_.set(proci, nullptr);
|
||||
pointProcAddressing_.set(proci, nullptr);
|
||||
meshes_.set(proci, nullptr);
|
||||
}
|
||||
|
||||
forAll(databases_, proci)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue