We need a way to isolate wasm executor for different chopsticks instance in memory.
Right now, if there are multiple chopsticks instances, they will share a worker, which is fine, and the same wasm executor.
And then if one of the execution got panic (e.g. #551), the other execution will also panic. Most likely because the global panic handler is been modified by the panicking execution.
We need a way to isolate wasm executor for different chopsticks instance in memory.
Right now, if there are multiple chopsticks instances, they will share a worker, which is fine, and the same wasm executor.
And then if one of the execution got panic (e.g. #551), the other execution will also panic. Most likely because the global panic handler is been modified by the panicking execution.