I get this error:

libwasm-worklet-glue.js:8 Uncaught TypeError: Cannot assign to read only 
property '__ZSt18uncaught_exceptionv' of object '[object Object]'
    at libwasm-worklet-glue.js:8
    at clarinetMIDI-processor1.js:7

when loading and starting a WASM compiled library:  

import FaustModule from './libwasm-worklet-glue.js';

const faust_module = FaustModule(); 

The code is compiled with :

--bind -O3 --memory-init-file 0 -s LINKABLE=1 -s WASM=1 -s 
EXPORT_NAME=\"'FaustModule'\" -s MODULARIZE=1 -s ASSERTIONS=1 -s 
ALLOW_MEMORY_GROWTH=1 -s DISABLE_EXCEPTION_CATCHING=1  -s 
BINARYEN_ASYNC_COMPILATION=0 -s SINGLE_FILE=1"

Any idea?

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/07d23290-a612-4099-86e2-4e235e540043%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to