core/ugui.py: Remove gc threshold setting (iss 27).

encoder_driver
peterhinch 2023-03-31 14:11:44 +01:00
rodzic 4d435b073f
commit 43c19b7b48
1 zmienionych plików z 0 dodań i 2 usunięć

Wyświetl plik

@ -533,8 +533,6 @@ class Screen:
while Screen.do_gc:
await asyncio.sleep_ms(500)
gc.collect()
if hasattr(gc, 'threshold'):
gc.threshold(gc.mem_free() // 4 + gc.mem_alloc())
n += 1
n &= 0x1F
_vb and (not n) and print("Free RAM", gc.mem_free())