-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
[bug] [macos] App is crashing when webview is reloads while async command running #9933
Comments
Tracked upstream in tauri-apps/wry#1142 / tauri-apps/wry#1189 (PR exists already) |
Hey @fabianlar, Just wondering if this fix is planned for production soon? |
I assume we release new versions when Lucas and Amr are back from vacation next week. |
Hi, any updates on this issue? this will fix a lot of problems in my app |
I'm going insane it crashes so often when I reload :( |
Hi, is this issue fixed in the latest release? |
Sorry to keep bothering you @FabianLars Are there any updates on this? |
This seems to be fixed. |
Describe the bug
If i call async command (
#[tauri::command(async)]
) and reload page (window.location.reload()
) while command still running, app crashes right after command is done.Sometimes, when tokio decides to run command in other thread, not whole app crashes but this thread
Also tested on windows and linux where i didn't faced with that issue
Reproduction
Minimal reproducible repo (requires python3 as http server): https://github.com/pashokitsme/async-command-panic
Steps:
window.location.reload()
Expected behavior
No response
Full
tauri info
outputStack trace
No response
Additional context
output.mp4
The text was updated successfully, but these errors were encountered: