diff options
author | Damien George <damien@micropython.org> | 2024-05-21 11:42:51 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-05-22 17:37:37 +1000 |
commit | 57a9ffa6320bc9e5c7979a7f35c7de7a18f74720 (patch) | |
tree | 728b860bb5371cfe7362e055dddb1ead94d7d79a /py/runtime_utils.c | |
parent | 5c7a414574f06cf50ee9edec449f35f6740a1261 (diff) | |
download | micropython-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