mirror of https://github.com/microsoft/mimalloc
collect in debug mode in stress test
This commit is contained in:
parent
16b3329bd4
commit
73c339235c
|
@ -250,7 +250,9 @@ int main(int argc, char** argv) {
|
||||||
test_leak();
|
test_leak();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// mi_collect(true);
|
#ifndef NDEBUG
|
||||||
|
mi_collect(true);
|
||||||
|
#endif
|
||||||
#ifndef USE_STD_MALLOC
|
#ifndef USE_STD_MALLOC
|
||||||
mi_stats_print(NULL);
|
mi_stats_print(NULL);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue