mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Move OpenSSL probing before crash reporter.
This commit is contained in:
parent
ef614150d5
commit
c16d820b88
6 changed files with 2 additions and 15 deletions
|
@ -243,14 +243,10 @@ Application::~Application() {
|
||||||
Media::Player::finish(_audio.get());
|
Media::Player::finish(_audio.get());
|
||||||
style::stopManager();
|
style::stopManager();
|
||||||
|
|
||||||
ThirdParty::finish();
|
|
||||||
|
|
||||||
Instance = nullptr;
|
Instance = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Application::run() {
|
void Application::run() {
|
||||||
ThirdParty::start();
|
|
||||||
|
|
||||||
// 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.
|
||||||
_notifications = std::make_unique<Window::Notifications::System>();
|
_notifications = std::make_unique<Window::Notifications::System>();
|
||||||
|
|
|
@ -385,6 +385,7 @@ int Launcher::exec() {
|
||||||
|
|
||||||
// Must be started before Sandbox is created.
|
// Must be started before Sandbox is created.
|
||||||
Platform::start();
|
Platform::start();
|
||||||
|
ThirdParty::start();
|
||||||
auto result = executeApplication();
|
auto result = executeApplication();
|
||||||
|
|
||||||
DEBUG_LOG(("Telegram finished, result: %1").arg(result));
|
DEBUG_LOG(("Telegram finished, result: %1").arg(result));
|
||||||
|
@ -400,6 +401,7 @@ int Launcher::exec() {
|
||||||
}
|
}
|
||||||
|
|
||||||
CrashReports::Finish();
|
CrashReports::Finish();
|
||||||
|
ThirdParty::finish();
|
||||||
Platform::finish();
|
Platform::finish();
|
||||||
Logs::finish();
|
Logs::finish();
|
||||||
|
|
||||||
|
|
|
@ -92,8 +92,6 @@ namespace ThirdParty {
|
||||||
FIPS_mode_set(0);
|
FIPS_mode_set(0);
|
||||||
#endif
|
#endif
|
||||||
CONF_modules_unload(1);
|
CONF_modules_unload(1);
|
||||||
|
|
||||||
Platform::ThirdParty::finish();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -755,9 +755,6 @@ namespace ThirdParty {
|
||||||
void start() {
|
void start() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void finish() {
|
|
||||||
}
|
|
||||||
|
|
||||||
} // namespace ThirdParty
|
} // namespace ThirdParty
|
||||||
|
|
||||||
} // namespace Platform
|
} // namespace Platform
|
||||||
|
|
|
@ -53,9 +53,6 @@ namespace ThirdParty {
|
||||||
inline void start() {
|
inline void start() {
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void finish() {
|
|
||||||
}
|
|
||||||
|
|
||||||
} // namespace ThirdParty
|
} // namespace ThirdParty
|
||||||
} // namespace Platform
|
} // namespace Platform
|
||||||
|
|
||||||
|
|
|
@ -55,9 +55,6 @@ namespace ThirdParty {
|
||||||
|
|
||||||
void start();
|
void start();
|
||||||
|
|
||||||
inline void finish() {
|
|
||||||
}
|
|
||||||
|
|
||||||
} // namespace ThirdParty
|
} // namespace ThirdParty
|
||||||
} // namespace Platform
|
} // namespace Platform
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue