tauri: [bug] PostMessage failed ; is the messages queue full?
Describe the bug
PanicInfo { payload: Any { … }, message: Some(PostMessage failed ; is the messages queue full?), location: Location { file: “C:\Users\Potato\.cargo\registry\src\mirrors.aliyun.com-8754fae0eb2f08f1\wry-0.41.0\src\webview2\mod.rs”, line: 974, col: 5 }, can_unwind: true, force_no_backtrace: false }
Reproduction
No response
Expected behavior
No response
Full tauri info output
[✔] Environment
- OS: Windows 10.0.26100 X64
✔ WebView2: 126.0.2592.113
✔ MSVC: Visual Studio Community 2022
✔ rustc: 1.80.0 (051478957 2024-07-21)
✔ cargo: 1.80.0 (376290515 2024-07-16)
✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
- node: 20.12.0
- pnpm: 9.1.3
- yarn: 1.22.22
- npm: 10.8.2
[-] Packages
- tauri [RUST]: 2.0.0-rc.1
- tauri-build [RUST]: 2.0.0-rc.1
- wry [RUST]: 0.41.0
- tao [RUST]: 0.28.1
- @tauri-apps/api [NPM]: 2.0.0-rc.0
- @tauri-apps/cli [NPM]: 2.0.0-rc.2
[-] App
- build-type: bundle
- CSP: img-src 'self' asset: http://asset.localhost blob: data:; style-src 'unsafe-inline' 'self' asset: http://asset.localhost blob: data:; connect-src ipc: http://ipc.localhost; default-src 'self'; media-src 'self' asset: http://asset.localhost blob: data:
- frontendDist: ../dist
- devUrl: http://localhost:1420/
- framework: React
- bundler: Vite
Stack trace
No response
Additional context
No response
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 1
- Comments: 30 (6 by maintainers)
Commits related to this issue
- fix: avoid panic caused by window closing ref: https://github.com/tauri-apps/tauri/issues/10546 This problem only occurs in windows — committed to oomeow/clash-verge-self by oomeow 2 years ago
- fix: avoid panic caused by window closing ref: https://github.com/tauri-apps/tauri/issues/10546 This problem only occurs in windows fix: update panic strategy — committed to oomeow/clash-verge-self by oomeow 2 years ago
Hi @FabianLars @lucasfernog is there anything I can do in our end?
Still not solved? I’m ready to give up on using tauri. The community is too inactive and the problem solving is so slow. I’m going to switch to a more stable framework.
@amrbashir I reproduced the issue in my repo tauri-app, this is a simple tauri app example. Execution steps: Click the
Greetbutton -> Close the window immediately then the problem will appear