tauri-apps/wry

Crash on multiwebview example in WIndows

thewh1teagle opened this issue · 0 comments

Describe the bug
When running multiwebview example somtimes it crashes with

Error: WebView2Error(WindowsError(Error { code: HRESULT(0x8007139F), message: "The group or resource is not in the correct state to perform the requested operation." }))

Steps To Reproduce

git clone https://github.com/tauri-apps/wry
cd wry
cargo run --example multiwebview

Expected behavior
It should work without crash

Platform and Versions (please complete the following information):

OS: Windows 11
Rustc: 
cargo 1.75.0 (1d8b05cdd 2023-11-20)
rustc 1.75.0 (82e1608df 2023-12-21)

Additional context
It works well on MacOS
it doesn't happen when adding only single webview
it happens when adding 2 or more