Attempt to avoid double-free when shutting down on Windows

This commit is contained in:
Seth Hillbrand 2022-11-27 16:21:06 -08:00
parent 5bbe21f540
commit 3460c50afa
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@ PCB_PROPERTIES_PANEL::~PCB_PROPERTIES_PANEL()
wxPGGlobalVars->m_mapEditorClasses.erase( it );
delete static_cast<PG_UNIT_EDITOR*>( it->second );
it->second = nullptr;
}
}