Skip to content

Commit

Permalink
Client: bugfix
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 0267cb2475fecae85d85f03abc96215762dc46e0
  • Loading branch information
arseny30 committed Oct 8, 2020
1 parent 5926e00 commit cee68e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions td/telegram/Client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ class ClientManager::Impl final {
response.object->get_id() == td_api::updateAuthorizationState::ID &&
static_cast<const td_api::updateAuthorizationState *>(response.object.get())->authorization_state_->get_id() ==
td_api::authorizationStateClosed::ID) {
auto guard = concurrent_scheduler_->get_main_guard();
auto it = tds_.find(response.client_id);
CHECK(it != tds_.end());
it->second.reset();
Expand Down

0 comments on commit cee68e5

Please sign in to comment.