Cleanup zone bbox cache in destructor
This commit is contained in:
parent
f4ac4be701
commit
2654279678
|
@ -229,6 +229,9 @@ FOOTPRINT::~FOOTPRINT()
|
|||
delete d;
|
||||
|
||||
m_drawings.clear();
|
||||
|
||||
if( BOARD* board = GetBoard() )
|
||||
board->IncrementTimeStamp();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -93,6 +93,9 @@ ZONE::~ZONE()
|
|||
{
|
||||
delete m_Poly;
|
||||
delete m_CornerSelection;
|
||||
|
||||
if( BOARD* board = GetBoard() )
|
||||
board->IncrementTimeStamp();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue