From 7654c2706aa6f594a1cec3bd93a80edaa9ae8f7c Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Tue, 13 Oct 2020 03:11:19 +0200 Subject: [PATCH] Update Client.cpp --- td/telegram/Client.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/td/telegram/Client.cpp b/td/telegram/Client.cpp index 2c590ce31..20ba5d806 100644 --- a/td/telegram/Client.cpp +++ b/td/telegram/Client.cpp @@ -8,6 +8,7 @@ #include "td/telegram/Td.h" #include "td/telegram/TdCallback.h" +#include "td/telegram/Log.h" #include "td/actor/actor.h" @@ -20,10 +21,6 @@ #include "td/utils/port/RwMutex.h" #include "td/utils/port/thread.h" -#ifndef _WIN32 -#include "td/utils/death_handler.h" -#endif - #include #include #include @@ -621,7 +618,7 @@ Client &Client::operator=(Client &&other) = default; ClientManager::ClientManager() : impl_(std::make_unique()) { #ifndef _WIN32 - Debug::DeathHandler dh; + td::Log::set_disable_death_handler(true); #endif }