more managed pointer rooting (#40934)
authorKatelyn Gadd <kg@luminance.org>
Mon, 24 Aug 2020 09:45:53 +0000 (02:45 -0700)
committerGitHub <noreply@github.com>
Mon, 24 Aug 2020 09:45:53 +0000 (02:45 -0700)
commitbe197adc1b2915809f59b9427a3b2270dfa1b0fc
tree0b303b1c073700dfcc100cd8b2f6685465067ed2
parent384a2ae8157fc03d143fbbd5a0833bac6fc078c6
more managed pointer rooting (#40934)

Update more bindings and library code to store managed pointers in roots so that objects can't be collected or moved.
Fixes some bugs in the wasm root APIs.
src/mono/wasm/runtime/binding_support.js
src/mono/wasm/runtime/library_mono.js