mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 13:17:08 +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());
|
||||
style::stopManager();
|
||||
|
||||
ThirdParty::finish();
|
||||
|
||||
Instance = nullptr;
|
||||
}
|
||||
|
||||
void Application::run() {
|
||||
ThirdParty::start();
|
||||
|
||||
// Depends on OpenSSL on macOS, so on ThirdParty::start().
|
||||
// Depends on notifications settings.
|
||||
_notifications = std::make_unique<Window::Notifications::System>();
|
||||
|
|
|
@ -385,6 +385,7 @@ int Launcher::exec() {
|
|||
|
||||
// Must be started before Sandbox is created.
|
||||
Platform::start();
|
||||
ThirdParty::start();
|
||||
auto result = executeApplication();
|
||||
|
||||
DEBUG_LOG(("Telegram finished, result: %1").arg(result));
|
||||
|
@ -400,6 +401,7 @@ int Launcher::exec() {
|
|||
}
|
||||
|
||||
CrashReports::Finish();
|
||||
ThirdParty::finish();
|
||||
Platform::finish();
|
||||
Logs::finish();
|
||||
|
||||
|
|
|
@ -92,8 +92,6 @@ namespace ThirdParty {
|
|||
FIPS_mode_set(0);
|
||||
#endif
|
||||
CONF_modules_unload(1);
|
||||
|
||||
Platform::ThirdParty::finish();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -755,9 +755,6 @@ namespace ThirdParty {
|
|||
void start() {
|
||||
}
|
||||
|
||||
void finish() {
|
||||
}
|
||||
|
||||
} // namespace ThirdParty
|
||||
|
||||
} // namespace Platform
|
||||
|
|
|
@ -53,9 +53,6 @@ namespace ThirdParty {
|
|||
inline void start() {
|
||||
}
|
||||
|
||||
inline void finish() {
|
||||
}
|
||||
|
||||
} // namespace ThirdParty
|
||||
} // namespace Platform
|
||||
|
||||
|
|
|
@ -55,9 +55,6 @@ namespace ThirdParty {
|
|||
|
||||
void start();
|
||||
|
||||
inline void finish() {
|
||||
}
|
||||
|
||||
} // namespace ThirdParty
|
||||
} // namespace Platform
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue