mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-15 02:33:15 +02:00
Previously, these checks injected a custom handler to add graphic objects to a DRC marker. This was not thread-safe and was causing non-deterministic crashes. The DRC reporting methods now accept a customer handler which is called on the newly created PCB_MARKER within the commit context. This defaults to nullptr for DRC checks which do not require graphics or other additional processing. Fixes https://gitlab.com/kicad/code/kicad/-/issues/19282