Open pashokitsme opened 1 month ago
Tracked upstream in https://github.com/tauri-apps/wry/issues/1142 / https://github.com/tauri-apps/wry/issues/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 :(
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 threadAlso 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
https://github.com/tauri-apps/tauri/assets/60939712/01feee0c-c403-4cce-8d4b-541d5b2ed443