You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling tauri::Window::set_decorations(&self, false) from a synchronous command on Windows, as in the reproduction code provided below, the application hangs right after turning off decorations before exiting with code 0xCFFFFFFF. Executing the provided reproduction code in an asynchronous command finishes it successfully, with no crash.
Reproduction
The crash can be reproduced with the following command:
Describe the bug
When calling
tauri::Window::set_decorations(&self, false)
from a synchronous command on Windows, as in the reproduction code provided below, the application hangs right after turning off decorations before exiting with code 0xCFFFFFFF. Executing the provided reproduction code in an asynchronous command finishes it successfully, with no crash.Reproduction
The crash can be reproduced with the following command:
Executing this command will immediately cause the application to hang before exiting to Windows with no panic message.
(EDIT: apparently
blocking_kind
doesn't exist for&Result<(), Infallible>
, so the return type has been changed toResult<(), ()>
)Expected behavior
The window's decorations are removed and the application continues normally, without crashing.
Platform and versions
Stack trace
Not applicable; application exits with no stack trace. Exit code is 0xCFFFFFFF.
Additional context
This used to work fine in a beta version of tauri; though I can't remember which beta version this was. Possible regression?
The text was updated successfully, but these errors were encountered: