unix: Make -v dump memory info at exit.
Also, move bytecode dumps to -v -v, because they're too verbose for just -v.
This commit is contained in:
committed by
Damien George
parent
8768f8ad4b
commit
429e3f077e
@@ -506,6 +506,10 @@ int main(int argc, char **argv) {
|
||||
ret = do_repl();
|
||||
}
|
||||
|
||||
if (mp_verbose_flag) {
|
||||
mem_info(0, NULL);
|
||||
}
|
||||
|
||||
mp_deinit();
|
||||
|
||||
#if MICROPY_ENABLE_GC && !defined(NDEBUG)
|
||||
|
||||
Reference in New Issue
Block a user