diff options
| author | Damien George <damien@micropython.org> | 2021-04-30 16:26:42 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2021-04-30 16:35:14 +1000 |
| commit | 6b7c8d3e7283a6c94687ba7dcb8beb94c2dc9eef (patch) | |
| tree | fbb50530f373fe61faa4c38ca69f0533fc668d0c | |
| parent | 1d9528210b8a29be7e799be37224706633f7a4d5 (diff) | |
py/runtime: Remove commented-out code from mp_deinit().
These commented-out lines of code have been unused for a long time, so
remove them to avoid confusion as to why they are there.
mp_obj_dict_free() never existed, this line was converted from
mp_map_deinit() and commented out as soon as it was added. The call to
mp_map_deinit(mp_loaded_modules_map) was commented in
1a1d11fa32ba043d22995d28cbc039cfa5f3cc46.
Fixes issue #3507.
Signed-off-by: Damien George <damien@micropython.org>
| -rw-r--r-- | py/runtime.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/py/runtime.c b/py/runtime.c index 18a7c8565..1ca0702e1 100644 --- a/py/runtime.c +++ b/py/runtime.c @@ -155,9 +155,6 @@ void mp_deinit(void) { #ifdef MICROPY_PORT_DEINIT_FUNC MICROPY_PORT_DEINIT_FUNC; #endif - - // mp_obj_dict_free(&dict_main); - // mp_map_deinit(&MP_STATE_VM(mp_loaded_modules_map)); } mp_obj_t mp_load_name(qstr qst) { |
