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
When emitting events using the app_handle.emit_all() can cause panic. This seems to be linked to the frequency of emitting. When emitting a lot of events in my app, it crashes within a short time frame. But this also happens when there's a lower frequency.
I use emitting events through the event system to send a fair bit of data up to the frontend continuously. This has been working fine, except for this issue. In context I am emitting events from different tauri::async_runitme::spawn "threads" since they are consuming different streams and emitting the events up to the frontend.
You should post some relevant code to help reproduce this bug.
Even the most basic app that emits event in a fast recurring loop will trigger this. Similar situation as for #8177
I'll try to make a small example that can reproduce this.
Describe the bug
When emitting events using the app_handle.emit_all() can cause panic. This seems to be linked to the frequency of emitting. When emitting a lot of events in my app, it crashes within a short time frame. But this also happens when there's a lower frequency.
I use emitting events through the event system to send a fair bit of data up to the frontend continuously. This has been working fine, except for this issue. In context I am emitting events from different
tauri::async_runitme::spawn
"threads" since they are consuming different streams and emitting the events up to the frontend.Reproduction
No response
Expected behavior
Emitting events shouldn't panic.
Full
tauri info
outputStack trace
Additional context
No response
The text was updated successfully, but these errors were encountered: