Use send_closure_later to send requests in ClientActor to unify stack traces.
This commit is contained in:
parent
cb7088394e
commit
02ef8b914d
@ -23,7 +23,7 @@ void ClientActor::start_up() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void ClientActor::request(uint64 id, td_api::object_ptr<td_api::Function> request) {
|
void ClientActor::request(uint64 id, td_api::object_ptr<td_api::Function> request) {
|
||||||
send_closure(td_, &Td::request, id, std::move(request));
|
send_closure_later(td_, &Td::request, id, std::move(request));
|
||||||
}
|
}
|
||||||
|
|
||||||
ClientActor::~ClientActor() = default;
|
ClientActor::~ClientActor() = default;
|
||||||
|
Loading…
Reference in New Issue
Block a user