Client: bugfix
GitOrigin-RevId: 0267cb2475fecae85d85f03abc96215762dc46e0
This commit is contained in:
parent
5926e00320
commit
cee68e5a48
@ -127,6 +127,7 @@ class ClientManager::Impl final {
|
|||||||
response.object->get_id() == td_api::updateAuthorizationState::ID &&
|
response.object->get_id() == td_api::updateAuthorizationState::ID &&
|
||||||
static_cast<const td_api::updateAuthorizationState *>(response.object.get())->authorization_state_->get_id() ==
|
static_cast<const td_api::updateAuthorizationState *>(response.object.get())->authorization_state_->get_id() ==
|
||||||
td_api::authorizationStateClosed::ID) {
|
td_api::authorizationStateClosed::ID) {
|
||||||
|
auto guard = concurrent_scheduler_->get_main_guard();
|
||||||
auto it = tds_.find(response.client_id);
|
auto it = tds_.find(response.client_id);
|
||||||
CHECK(it != tds_.end());
|
CHECK(it != tds_.end());
|
||||||
it->second.reset();
|
it->second.reset();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user