You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now if you use sqlite in a child thread, it will panic because extern_ref is not shared in the thread. See rustwasm/wasm-bindgen#955.
The current solution is to use fragile to determine whether it is a child thread. If it is a child thread, the data will be sended to the main thread for execution (via channel maybe).
More design is needed at present.
The text was updated successfully, but these errors were encountered:
Now if you use sqlite in a child thread, it will panic because
extern_ref
is not shared in the thread. See rustwasm/wasm-bindgen#955.The current solution is to use
fragile
to determine whether it is a child thread. If it is a child thread, the data will be sended to the main thread for execution (via channel maybe).More design is needed at present.
The text was updated successfully, but these errors were encountered: