Skip to content

Commit cee68e5

Browse files
committed
Client: bugfix
GitOrigin-RevId: 0267cb2475fecae85d85f03abc96215762dc46e0
1 parent 5926e00 commit cee68e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: td/telegram/Client.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ class ClientManager::Impl final {
127127
response.object->get_id() == td_api::updateAuthorizationState::ID &&
128128
static_cast<const td_api::updateAuthorizationState *>(response.object.get())->authorization_state_->get_id() ==
129129
td_api::authorizationStateClosed::ID) {
130+
auto guard = concurrent_scheduler_->get_main_guard();
130131
auto it = tds_.find(response.client_id);
131132
CHECK(it != tds_.end());
132133
it->second.reset();

0 commit comments

Comments
 (0)