diff --git a/pcbnew/pcb_track.cpp b/pcbnew/pcb_track.cpp index 797396b15a..3db8d0ab59 100644 --- a/pcbnew/pcb_track.cpp +++ b/pcbnew/pcb_track.cpp @@ -545,8 +545,11 @@ bool PCB_VIA::FlashLayer( int aLayer ) const return true; // Must be static to keep from raising its ugly head in performance profiles - static std::initializer_list connectedTypes = { PCB_TRACE_T, PCB_ARC_T, PCB_PAD_T, - PCB_ZONE_T, PCB_FP_ZONE_T }; + static std::initializer_list connectedTypes = { PCB_TRACE_T, PCB_ARC_T, PCB_PAD_T }; + + // Do not check zones. Doing so results in race conditions when the via collides with + // two different zones of different priorities. + // See https://gitlab.com/kicad/code/kicad/-/issues/11299. return board->GetConnectivity()->IsConnectedOnLayer( this, aLayer, connectedTypes, true ); }