Update Client.cpp

This commit is contained in:
Andrea Cavalli 2020-10-13 03:11:19 +02:00
parent 85bf271fb8
commit 7654c2706a

View File

@ -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 <algorithm>
#include <atomic>
#include <memory>
@ -621,7 +618,7 @@ Client &Client::operator=(Client &&other) = default;
ClientManager::ClientManager() : impl_(std::make_unique<Impl>()) {
#ifndef _WIN32
Debug::DeathHandler dh;
td::Log::set_disable_death_handler(true);
#endif
}