Use send_closure_later to send requests in ClientActor to unify stack traces.

This commit is contained in:
levlam 2023-07-20 19:38:27 +03:00
parent cb7088394e
commit 02ef8b914d

View File

@ -23,7 +23,7 @@ void ClientActor::start_up() {
}
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;