Restarting to update no longer freezes the desktop app for up to 30 seconds. Restart now (settings), the tray's Restart and Quit stopped the runner on the main thread, where Windows runs the settings' commands and menus; the runner, stopping, updates the tray, which waits for the main thread, so both waited until runner::shutdown's 30-second timeout ran out and Windows showed g1t as Not Responding. Restart and quit now stop the runner and install on a thread of their own (updates::leave), and the settings' plain restart does the same.
- Checked:
- cargo check of g1t-desktop.
- G1t-Session:
- ses_01m4ypcdt1e7h9c728e5bbs4py
Comments
Sign in to comment.