diff --git a/components/micropython/vendor/py/gc.c b/components/micropython/vendor/py/gc.c index fe9a5aae55fafaf5ac9ccc43134d4fe5725a14b6..7f3d05a9d4832491ba7b790a283bf40c58daf7b0 100644 --- a/components/micropython/vendor/py/gc.c +++ b/components/micropython/vendor/py/gc.c @@ -51,7 +51,7 @@ // make this 1 to zero out swept memory to more eagerly // detect untraced object still in use -#define CLEAR_ON_SWEEP (0) +#define CLEAR_ON_SWEEP (1) #define WORDS_PER_BLOCK ((MICROPY_BYTES_PER_GC_BLOCK) / MP_BYTES_PER_OBJ_WORD) #define BYTES_PER_BLOCK (MICROPY_BYTES_PER_GC_BLOCK)