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 <mbonadei@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#34027}
This commit is contained in:
Tommi
2021-05-17 17:56:34 +02:00
committed by WebRTC LUCI CQ
parent cfa932f6fc
commit eadf4578e5

View File

@ -4609,7 +4609,6 @@ void SdpOfferAnswerHandler::DestroyTransceiverChannel(
// un-set the channel pointer and uninitialize/destruct the channel object // un-set the channel pointer and uninitialize/destruct the channel object
// at the same time, rather than in separate steps. // at the same time, rather than in separate steps.
transceiver->internal()->SetChannel(nullptr); transceiver->internal()->SetChannel(nullptr);
RTC_DCHECK_BLOCK_COUNT_NO_MORE_THAN(3);
// TODO(tommi): All channel objects end up getting deleted on the // TODO(tommi): All channel objects end up getting deleted on the
// worker thread (ideally should be on the network thread but the // worker thread (ideally should be on the network thread but the
// MediaChannel objects are tied to the worker. Can the teardown be done // MediaChannel objects are tied to the worker. Can the teardown be done