Update Client.cpp
This commit is contained in:
parent
85bf271fb8
commit
7654c2706a
@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
#include "td/telegram/Td.h"
|
#include "td/telegram/Td.h"
|
||||||
#include "td/telegram/TdCallback.h"
|
#include "td/telegram/TdCallback.h"
|
||||||
|
#include "td/telegram/Log.h"
|
||||||
|
|
||||||
#include "td/actor/actor.h"
|
#include "td/actor/actor.h"
|
||||||
|
|
||||||
@ -20,10 +21,6 @@
|
|||||||
#include "td/utils/port/RwMutex.h"
|
#include "td/utils/port/RwMutex.h"
|
||||||
#include "td/utils/port/thread.h"
|
#include "td/utils/port/thread.h"
|
||||||
|
|
||||||
#ifndef _WIN32
|
|
||||||
#include "td/utils/death_handler.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
@ -621,7 +618,7 @@ Client &Client::operator=(Client &&other) = default;
|
|||||||
|
|
||||||
ClientManager::ClientManager() : impl_(std::make_unique<Impl>()) {
|
ClientManager::ClientManager() : impl_(std::make_unique<Impl>()) {
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
Debug::DeathHandler dh;
|
td::Log::set_disable_death_handler(true);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user