-
-
Notifications
You must be signed in to change notification settings - Fork 298
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
Reloading webview crashes in an edge case [macOS] #1142
Labels
Comments
Did you register any custom protocol by Since it crash at Line 230 in 52c861b
response is not exist, but I can't reproduce it either :\
|
I haven't, but tauri registers two of them that we use I think: |
This was referenced Jun 4, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I have a custom menu item to reload webview contents (in tauri). It uses following code:
This worked fine until ~last month which started to cause a panic with this message:
![CleanShot 2024-01-21 at 13 20 46@2x](https://private-user-images.githubusercontent.com/12202757/298374253-09fe62fc-cea9-48ea-b06b-5e49ea4cfcb9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5ODc3ODQsIm5iZiI6MTczODk4NzQ4NCwicGF0aCI6Ii8xMjIwMjc1Ny8yOTgzNzQyNTMtMDlmZTYyZmMtY2VhOS00OGVhLWIwNmItNWU0OWVhNGNmY2I5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDA0MDQ0NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ3Y2M3ZGQyOThhY2ZjNDcxMjVkNTc1ODExZWFiZWJjYTMzZTBkMjQ0MjE5MGQ0MjZhM2M2MGU5YTc2MDAwMWYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.cbEzHhnlDrFEV21yPQavgTYxmNXBP2mZKgm1_vTFpu4)
Steps To Reproduce
I tried doing the same thing in custom_protocol example, but I can't reproduce this. Can you guide me through debugging what might cause this based on the stack trace, I'd be happy to help narrow down the issue and provide a Wry example / or move the issue to tauri.
more context: I added this code to wry example to trigger reloads which didn't panic:
Expected behavior
To reload the app without panic.
Screenshots
N/A
Platform and Versions (please complete the following information):
OS: macOS 14.2.1 (23C71)
Rustc: rustc 1.73.0 (cc66ad468 2023-10-03)
Additional context
N/A
The text was updated successfully, but these errors were encountered: