Closed GillesDuvert closed 6 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 42.83%. Comparing base (
e11536c
) to head (463cf32
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
if gdl is compiled with
-DCMAKE_CXX_FLAGS='-DGDL_DO_ATEXIT=1 ...'
, i.e, ifGDL_DO_ATEXIT
is defined, then gdl will clean up all its objects before exit. This removes a tremendous list of supposed memory leaks as reported by Valgrind or Sanitizers. To be used in debug mode of course. Mostly, with the exception of a small list of internal objects that cannot be destroyed before exit (because they share memory with another, destroyed, object) the (still long) list of supposed memory leaks is dues to wxWidgets or other external libraries (probably beacause we do not correctly use their respective cleanup functions).