Make sure SCH_PIN->LIB_PIN pointers get cleared

This commit is contained in:
Jon Evans 2024-02-09 08:09:19 -05:00
parent 33d93b79a3
commit 334b414826
1 changed files with 2 additions and 0 deletions

View File

@ -350,6 +350,8 @@ void SCH_SYMBOL::UpdatePins()
if( !pin->GetAlt().IsEmpty() )
altPinMap[ pin->GetNumber() ] = pin->GetAlt();
pin->SetLibPin( nullptr );
}
m_pinMap.clear();