diff --git a/Common/Gmsh.cpp b/Common/Gmsh.cpp index 8b21e4b16f64e9811701b1ba0bd934ff428b9eb9..83b2de814570f9f0bc52b77398a0fcd9cb643555 100644 --- a/Common/Gmsh.cpp +++ b/Common/Gmsh.cpp @@ -240,17 +240,12 @@ int GmshFinalize() // Delete static _interpolationSchemes of PViewData class PViewData::removeAllInterpolationSchemes(); - - // Delete static _reference of PViewOptions class - delete PViewOptions::reference(); #endif // Delete all Gmodels for(unsigned int i = 0; i < GModel::list.size(); i++) delete GModel::list[i]; GModel::list.clear(); - - // Delete CTX instance - delete CTX::instance(); + return 1; }