Browse Source

Creepage: fix crash when re-starting DRC

markers were added twice ( graphics handler and violation handler ), and then double deleted
pcb_db
Fabien Corona 1 year ago
parent
commit
021514c7f5
  1. 1
      pcbnew/drc/drc_test_provider_clearance_base.cpp

1
pcbnew/drc/drc_test_provider_clearance_base.cpp

@ -90,7 +90,6 @@ void DRC_TEST_PROVIDER_CLEARANCE_BASE::ShowPathDRC( const std::vector<PCB_SHAPE>
aMarker->SetShapes1( std::move( shortestPathShapes1 ) );
aMarker->SetShapes2( std::move( shortestPathShapes2 ) );
aCommit->Add( aMarker );
};
std::swap( m_GraphicsHandlerBuffer, m_drcEngine->m_graphicsHandler );

Loading…
Cancel
Save