mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
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…
x
Reference in New Issue
Block a user