diff options
author | Damien George <damien@micropython.org> | 2024-05-21 11:41:46 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-05-22 17:06:18 +1000 |
commit | 5c7a414574f06cf50ee9edec449f35f6740a1261 (patch) | |
tree | 6aa7d3e5f358dd51b23f3b311297c40d7ad05562 /py/runtime_utils.c | |
parent | c0ca4bb85f4f1307cbd34fe499035b16bcd22637 (diff) | |
download | micropython-5c7a414574f06cf50ee9edec449f35f6740a1261.tar.gz micropython-5c7a414574f06cf50ee9edec449f35f6740a1261.zip |
webassembly: Add C-level finaliser to JsProxy object.
And clear the corresponding `proxy_js_ref[js_ref]` entry when the finaliser
runs. This then allows the JavaScript side to (eventually) free the
corresponding JavaScript object.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/runtime_utils.c')
0 files changed, 0 insertions, 0 deletions