parallel delete geom

This commit is contained in:
Joachim Schoeberl 2014-10-13 20:35:28 +00:00
parent e56d845f17
commit e27dfe3307

View File

@ -48,6 +48,7 @@ void Parallel_Exit();
namespace netgen { namespace netgen {
extern std::shared_ptr<NetgenGeometry> ng_geometry;
extern shared_ptr<Mesh> mesh; extern shared_ptr<Mesh> mesh;
extern VisualSceneMesh vsmesh; extern VisualSceneMesh vsmesh;
extern VisualSceneSolution vssolution; extern VisualSceneSolution vssolution;
@ -310,6 +311,8 @@ void ParallelRun()
else if ( message == "end" ) else if ( message == "end" )
{ {
mesh.reset();
ng_geometry.reset();
break; break;
} }