Make sure connectivity is locked for zone filling.
See 1e33928b96
for the original addition and rationale.
This commit is contained in:
parent
d3194cc6db
commit
e6bf922a77
|
@ -72,6 +72,8 @@ void ZONE_FILLER_TOOL::CheckAllZones( wxWindow* aCaller, PROGRESS_REPORTER* aRep
|
|||
else
|
||||
filler.InstallNewProgressReporter( aCaller, _( "Checking Zones" ), 4 );
|
||||
|
||||
std::lock_guard<KISPINLOCK> lock( board()->GetConnectivity()->GetLock() );
|
||||
|
||||
if( filler.Fill( toFill, true, aCaller ) )
|
||||
{
|
||||
commit.Push( _( "Fill Zone(s)" ), false );
|
||||
|
|
Loading…
Reference in New Issue