From eadf4578e50acc1b965211d49d7b25550fb7c33d Mon Sep 17 00:00:00 2001 From: Tommi Date: Mon, 17 May 2021 17:56:34 +0200 Subject: [PATCH] Remove check following SetChannel. The number of invokes will vary based on number of receivers/senders, so we can't have a fixed number there. Bug: none Change-Id: Iab3d529a5935c4b6cc95e9da6637acd880614972 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/219101 Commit-Queue: Mirko Bonadei Reviewed-by: Mirko Bonadei Cr-Commit-Position: refs/heads/master@{#34027} --- pc/sdp_offer_answer.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/pc/sdp_offer_answer.cc b/pc/sdp_offer_answer.cc index f3f22fc208..c04eda0ef7 100644 --- a/pc/sdp_offer_answer.cc +++ b/pc/sdp_offer_answer.cc @@ -4609,7 +4609,6 @@ void SdpOfferAnswerHandler::DestroyTransceiverChannel( // un-set the channel pointer and uninitialize/destruct the channel object // at the same time, rather than in separate steps. transceiver->internal()->SetChannel(nullptr); - RTC_DCHECK_BLOCK_COUNT_NO_MORE_THAN(3); // TODO(tommi): All channel objects end up getting deleted on the // worker thread (ideally should be on the network thread but the // MediaChannel objects are tied to the worker. Can the teardown be done