-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gloo_timers panic in WASM #2875
Comments
Upstream issue: rustwasm/wasm-bindgen#2562 |
That might be a different issue. @sisou's log shows a panic at wasm-bindgen-futures-0.4.43/src/task/singlethread.rs:102 whereas the linked issue panicked at wasm-bindgen-futures-0.4.23/src/lib.rs:133:39. |
Ah, further down, another commenter has wasm-bindgen-futures-0.4.37/src/task/singlethread.rs:85:37, which looks like the same line as we have. |
Another weird thing is that the stacktrace has > window.setTimeout(() => console.log("from timeout")); console.log("after setTimeout");
after setTimeout
undefined
from timeout
Thanks to @sisou for explaining to me that the stack trace of the callback includes the stack trace of the time when |
In the latest version
v0.24.0
I am observing a new panic in the WASMweb-client
in the Chrome browser:The text was updated successfully, but these errors were encountered: