Files
kicad-source-mirror/tools
Seth Hillbrand ca7259ab95 Add LEAK_AT_EXIT wrapper to skip destructor calls at program exit
GlobalLibraries and PreloadedFootprints each have deep object
hierarchies that take noticeable time to destroy during shutdown.
Since the OS reclaims all process memory anyway, running these
destructors is wasted work. The new LEAK_AT_EXIT template wrapper
heap-allocates the wrapped object on first access and never frees it,
speeding up program exit.

When built with address sanitizer, it uses __lsan_ignore_object to
prevent false positive leak reports.  Also added a valgrind
suppression file for the same purpose.
2026-01-23 17:26:37 -08:00
..
2019-12-03 18:51:59 +00:00
2021-03-11 08:39:24 -05:00
2025-09-09 06:15:30 -07:00
2023-09-07 22:09:26 -04:00