mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Merge pull request #1158 from openmv/lwip_socks
Call gc_sweep_all on soft-reset.
This commit is contained in:
commit
6a04514887
@ -745,6 +745,9 @@ soft_reset:
|
||||
#ifdef IMLIB_ENABLE_DMA2D
|
||||
imlib_draw_row_deinit_all();
|
||||
#endif
|
||||
#if MICROPY_PY_LWIP
|
||||
gc_sweep_all();
|
||||
#endif
|
||||
first_soft_reset = false;
|
||||
goto soft_reset;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user