void GlueMapWindow::OnDestroy() { /* stop the TopographyThread and the TerrainThread */ SetTopography(nullptr); SetTerrain(nullptr); #ifdef ENABLE_OPENGL data_timer.Cancel(); #endif MapWindow::OnDestroy(); }
void MapWindow::OnDestroy() { #ifdef HAVE_NOAA SetNOAAStore(nullptr); #endif airspace_renderer.Clear(); SetWaypoints(nullptr); SetTopography(nullptr); SetTerrain(nullptr); SetWeather(nullptr); #ifndef ENABLE_OPENGL buffer_canvas.Destroy(); #endif DoubleBufferWindow::OnDestroy(); }
void MapWindow::OnDestroy() { SetMarks(NULL); airspace_renderer.Clear(); SetWaypoints(NULL); SetTopography(NULL); SetTerrain(NULL); SetWeather(NULL); #ifndef ENABLE_OPENGL buffer_canvas.reset(); if (!IsAncientHardware()) stencil_canvas.reset(); #endif DoubleBufferWindow::OnDestroy(); }