summaryrefslogtreecommitdiffstatshomepage
path: root/py/runtime_utils.c
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2024-05-21 11:41:46 +1000
committerDamien George <damien@micropython.org>2024-05-22 17:06:18 +1000
commit5c7a414574f06cf50ee9edec449f35f6740a1261 (patch)
tree6aa7d3e5f358dd51b23f3b311297c40d7ad05562 /py/runtime_utils.c
parentc0ca4bb85f4f1307cbd34fe499035b16bcd22637 (diff)
downloadmicropython-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