Remove DCHECK from PeerConnectionFactory::worker_thread.
PeerConnection::SetBitrate calls PeerConnectionFactory::worker_thread from multiple threads, so it was triggering the DCHECK. However, the worker thread never changes after construction, so worker_thread should be safe to call from multiple threads. BUG=NONE Review-Url: https://codereview.webrtc.org/2923953004 Cr-Commit-Position: refs/heads/master@{#18576}
This commit is contained in:
parent
da4eba1e0a
commit
179f997307
@ -374,7 +374,6 @@ rtc::Thread* PeerConnectionFactory::signaling_thread() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
rtc::Thread* PeerConnectionFactory::worker_thread() {
|
rtc::Thread* PeerConnectionFactory::worker_thread() {
|
||||||
RTC_DCHECK(signaling_thread_->IsCurrent());
|
|
||||||
return worker_thread_;
|
return worker_thread_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user