Make sure that threads are not running after zone filling.
This commit is contained in:
parent
6d513e7ecf
commit
c4aed1d941
|
@ -417,6 +417,11 @@ bool ZONE_FILLER::Fill( std::vector<ZONE*>& aZones, bool aCheck, wxWindow* aPare
|
|||
}
|
||||
}
|
||||
|
||||
// Make sure the threads are not running
|
||||
for( auto& ret : returns )
|
||||
if( ret.first.valid() )
|
||||
ret.first.wait();
|
||||
|
||||
// Now update the connectivity to check for isolated copper islands
|
||||
// (NB: FindIsolatedCopperIslands() is multi-threaded)
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue