Files
serenity/Userland/Libraries/LibWeb/WebAssembly/WebAssembly.cpp
Ali Mohammad Pur c9bfa4a3f4 LibWeb: Keep Wasm-imported functions alive
The user is not required to keep the object alive, this commit makes it
so the lifetime of these functions is extended to match the Wasm module
it is imported into.
Fixes the crash in #907.

(cherry picked from commit 1fa528b19fb4551ebc6b4d33b408e456ba367acc)
2024-08-13 18:00:24 -04:00

21 KiB