collect in debug mode in stress test

This commit is contained in:
Daan Leijen 2021-04-28 16:12:32 -07:00
parent 16b3329bd4
commit 73c339235c
1 changed files with 3 additions and 1 deletions

View File

@ -250,7 +250,9 @@ int main(int argc, char** argv) {
test_leak();
#endif
// mi_collect(true);
#ifndef NDEBUG
mi_collect(true);
#endif
#ifndef USE_STD_MALLOC
mi_stats_print(NULL);
#endif