summaryrefslogtreecommitdiffstatshomepage
path: root/py/runtime_utils.c
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2024-05-21 11:42:51 +1000
committerDamien George <damien@micropython.org>2024-05-22 17:37:37 +1000
commit57a9ffa6320bc9e5c7979a7f35c7de7a18f74720 (patch)
tree728b860bb5371cfe7362e055dddb1ead94d7d79a /py/runtime_utils.c
parent5c7a414574f06cf50ee9edec449f35f6740a1261 (diff)
downloadmicropython-57a9ffa6320bc9e5c7979a7f35c7de7a18f74720.tar.gz
micropython-57a9ffa6320bc9e5c7979a7f35c7de7a18f74720.zip
webassembly: Register PyProxy objects for JS-side finalisation.
And clear the corresponding `proxy_c_ref[c_ref]` entry when the finaliser runs. This then allows the C side to (eventually) garbage collect the corresponding Python object. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/runtime_utils.c')
0 files changed, 0 insertions, 0 deletions