mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-26 21:00:34 +05:00
fix crash at netgen exit
This commit is contained in:
parent
eccccfea62
commit
2d4bed6a77
@ -102,9 +102,14 @@ namespace netgen
|
||||
*/
|
||||
|
||||
Ngx_Mesh :: ~Ngx_Mesh ()
|
||||
{
|
||||
{
|
||||
/*
|
||||
// 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