-
Notifications
You must be signed in to change notification settings - Fork 300
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
There is no reactor running, must be called from the context of a Tokio 1.x runtime #2148
Comments
Ok I guess that's because of something like: flutter_rust_bridge/frb_example/integrate_third_party/rust/src/api/override_web_audio_api.rs Line 114 in 7e2a5f1
|
PR: #2151 (Just copy-paste the update code after it is done) I have not run it to test whether it is fixed though, since |
It works much better. await src.setOnEnded(callback: finished) The callback is correctly called at the end of the playback. 🥇 |
Looks great! |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new issue. |
Describe the bug
Panic at src/api/override_web_audio_api.rs:124
When I set a callback function for the
ended
event of my audio_buffer_source node.Steps to reproduce
override_web_audio_api.rs:124
Logs
OS
Macos
Version of
flutter_rust_bridge_codegen
flutter_rust_bridge_codegen 2.0.0
The text was updated successfully, but these errors were encountered: