Browse Source

Make sure that threads are not running after zone filling.

7.0
Alex 3 years ago
parent
commit
c4aed1d941
  1. 5
      pcbnew/zone_filler.cpp

5
pcbnew/zone_filler.cpp

@ -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…
Cancel
Save