This commit is contained in:
Andrea Cavalli 2020-09-01 17:44:32 +02:00
parent 55f049f168
commit 4ae4e88148

View File

@ -254,7 +254,7 @@ class TdReceiver {
bool is_updates_locked = false; bool is_updates_locked = false;
if (include_responses) { if (include_responses) {
is_responses_locked = receive_responses_lock_.exchange(true); is_responses_locked = receive_responses_lock_.exchange(true);
CHECK(!is_responseslocked); CHECK(!is_responses_locked);
} }
if (include_updates) { if (include_updates) {
is_updates_locked = receive_updates_lock_.exchange(true); is_updates_locked = receive_updates_lock_.exchange(true);