Add asserting checking.

This commit is contained in:
Jeff Young 2022-11-29 10:22:46 +00:00
parent 9055043409
commit a105f6c297
1 changed files with 2 additions and 0 deletions

View File

@ -709,6 +709,8 @@ void SCH_EDIT_FRAME::HardRedraw()
for( std::pair<const wxString, LIB_SYMBOL*>& libSymbol : screen->GetLibSymbols() )
{
wxASSERT( libSymbol.second );
if( libSymbol.second )
libSymbol.second->ClearCaches();
}