Refresh global proxy after settings being read.
Fixes #16600, fixes #17249.
This commit is contained in:
parent
a0110fed27
commit
6925bf6a8e
|
@ -208,7 +208,6 @@ void Application::run() {
|
||||||
style::internal::StartFonts();
|
style::internal::StartFonts();
|
||||||
|
|
||||||
ThirdParty::start();
|
ThirdParty::start();
|
||||||
refreshGlobalProxy(); // Depends on Core::IsAppLaunched().
|
|
||||||
|
|
||||||
// Depends on OpenSSL on macOS, so on ThirdParty::start().
|
// Depends on OpenSSL on macOS, so on ThirdParty::start().
|
||||||
// Depends on notifications settings.
|
// Depends on notifications settings.
|
||||||
|
@ -217,6 +216,8 @@ void Application::run() {
|
||||||
startLocalStorage();
|
startLocalStorage();
|
||||||
ValidateScale();
|
ValidateScale();
|
||||||
|
|
||||||
|
refreshGlobalProxy(); // Depends on app settings being read.
|
||||||
|
|
||||||
if (Local::oldSettingsVersion() < AppVersion) {
|
if (Local::oldSettingsVersion() < AppVersion) {
|
||||||
RegisterUrlScheme();
|
RegisterUrlScheme();
|
||||||
psNewVersion();
|
psNewVersion();
|
||||||
|
|
Loading…
Reference in New Issue