summaryrefslogtreecommitdiff
path: root/tests/extmod/ujson_loads_bytes.py
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2025-09-01 14:48:17 +1000
committerDamien George <damien@micropython.org>2025-09-26 14:03:31 +1000
commit9eddbb32f338a51b475b56891b334084633fbd0e (patch)
tree23f514a4196c7dbded1c8abc2d7e82fa6918607f /tests/extmod/ujson_loads_bytes.py
parent24f395b5dbb2149bf505873e32f7899c6dd57558 (diff)
webassembly: Do GC in return path rather than entry path.
Doing GC calls in the entry path (when JavaScript calls into MicroPython at the top/outer level) can lead to freeing of objects which are still in use. This is because the (JavaScript) objects are referenced in the input arguments to the C functions and they are not yet converted to full proxy objects and not yet tracked properly by the live-object tracker. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tests/extmod/ujson_loads_bytes.py')
0 files changed, 0 insertions, 0 deletions