mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +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 ()
|
||||
{
|
||||
/*
|
||||
// causes crashes when global variable netgen::mesh is destructed
|
||||
// before visualization data
|
||||
|
||||
// causes crashes when global variable netgen::mesh is destructed
|
||||
// before visualization data
|
||||
|
||||
if (mesh == netgen::mesh)
|
||||
netgen::mesh = nullptr;
|
||||
*/
|
||||
}
|
||||
|
||||
int Ngx_Mesh :: GetDimension() const
|
||||
|
Loading…
Reference in New Issue
Block a user