From e27dfe3307662ab2a62b80273458df73306b278d Mon Sep 17 00:00:00 2001 From: Joachim Schoeberl Date: Mon, 13 Oct 2014 20:35:28 +0000 Subject: [PATCH] parallel delete geom --- ng/parallelfunc.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ng/parallelfunc.cpp b/ng/parallelfunc.cpp index 23671ba8..6712e841 100644 --- a/ng/parallelfunc.cpp +++ b/ng/parallelfunc.cpp @@ -48,6 +48,7 @@ void Parallel_Exit(); namespace netgen { + extern std::shared_ptr ng_geometry; extern shared_ptr mesh; extern VisualSceneMesh vsmesh; extern VisualSceneSolution vssolution; @@ -310,6 +311,8 @@ void ParallelRun() else if ( message == "end" ) { + mesh.reset(); + ng_geometry.reset(); break; }