release: FluxRoute v1.7.1 — фикс-релиз - #76
Conversation
fix(update): восстановить автоматический перезапуск после обновления
fix(ui): исправить отображение иконки кнопки питания
Include orchestrator selection fix in nightly for release PR #76
fix(tg-proxy): restore Telegram media routing
fix(ui): сохранять пользовательские хостлисты после перезапуска
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8b1565a024
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| // Программное закрытие при успешном обновлении не должно попадать | ||
| // под пользовательское подтверждение или сворачивание в трей. | ||
| if (Dispatcher.HasShutdownStarted) | ||
| _isClosingConfirmed = true; |
There was a problem hiding this comment.
Detect application shutdown before entering close-to-tray logic
When the successful-update path calls Application.Current.Shutdown() in UpdatesViewModel.InstallAppUpdate, WPF begins closing application windows before it starts shutting down the dispatcher, so Dispatcher.HasShutdownStarted is still false here. With the default CloseToTray = true, this therefore enters the branch below, hides the window, and returns before the normal shutdown cleanup that stops WinWS/TG Proxy and disposes resources; depending on WPF's forced-shutdown handling, it can also leave the updater waiting for a process that was merely hidden. Track the application/update shutdown explicitly instead of using the dispatcher lifecycle flag.
Useful? React with 👍 / 👎.
fix(update): корректно обрабатывать shutdown при автообновлении
Цель
Подготовить фикс-релиз FluxRoute v1.7.1 из ветки nightly в master.
Что входит в PR
winws.exeиwinws2.exeпосле обновления: updater останавливает движки и ожидает освобождения WinDivert перед установкой или копированием файлов.Проверка
Связанные PR
Связанные тикеты: issue #83, issue #85.