mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-14 10:08:32 +05:00
delete global mesh the old way
This commit is contained in:
parent
74c8fa5cf4
commit
e33c859a43
@ -103,13 +103,11 @@ namespace netgen
|
|||||||
|
|
||||||
Ngx_Mesh :: ~Ngx_Mesh ()
|
Ngx_Mesh :: ~Ngx_Mesh ()
|
||||||
{
|
{
|
||||||
/*
|
// causes crashes when global variable netgen::mesh is destructed
|
||||||
// causes crashes when global variable netgen::mesh is destructed
|
// before visualization data
|
||||||
// before visualization data
|
|
||||||
|
|
||||||
if (mesh == netgen::mesh)
|
if (mesh == netgen::mesh)
|
||||||
netgen::mesh = nullptr;
|
netgen::mesh = nullptr;
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int Ngx_Mesh :: GetDimension() const
|
int Ngx_Mesh :: GetDimension() const
|
||||||
|
Loading…
Reference in New Issue
Block a user