fix(windows): exit process on `WM_ENDSESSION`
Reference: https://github.com/tauri-apps/tauri/pull/14479#issuecomment-3562121016
Open to suggestion on this one, we can detect lParam here to do special handling to Restart Manager but I honestly feel like the Windows shutdown behavior itself is a bit of a myth so might just to the exit ourselves regardlesss
Package Changes Through 3363fcc10509cf851f341a51cf5c845fa39adf96
There are 1 changes which include tao with patch
Planned Package Versions
The following package releases are the planned based on the context of changes in this pull request.
| package | current | next |
|---|---|---|
| tao | 0.34.5 | 0.34.6 |
Add another change file through the GitHub UI by following this link.
Read about change files or the docs at github.com/jbolda/covector
After the testing in https://github.com/rust-windowing/winit/pull/4425#discussion_r2558437389, I think it should be possible to exit normally without the std::process:exit here, but that requires us to adopt https://github.com/rust-windowing/winit/pull/2767 or our current way of pulling the message through GetMessageW (GetMessageW dispatches none queued messages by itself and only returns on queued messages) will not return to us (or maybe we can post a message to the message queue?)