fix(windows): do not panic when transitioning from Destroyed#1188
fix(windows): do not panic when transitioning from Destroyed#1188thomaseizinger wants to merge 4 commits intotauri-apps:devfrom
Destroyed#1188Conversation
Package Changes Through 8962da6There are 1 changes which include tao with patch Planned Package VersionsThe following package releases are the planned based on the context of changes in this pull request.
Add another change file through the GitHub UI by following this link. Read about change files or the docs at github.com/jbolda/covector |
There was a problem hiding this comment.
I am in favor of this, maybe we could discuss with the winit maintainers about the reasoning behind this before merging though (or we should identify the reason we reached this line if this is an internal state error that should not happen and the panic is the right thing to do)
|
After a closer look at the current code, we only ever move the state to destroyed on For the |
We are using |
|
We are seeing crash reports from Tauri applications caused by this particular panic. I am not sure what they are caused by but it seems save to just remove the panic, log a message and leave the state in
Destroyedinstead.Resolves: #1180