Tommi 94e5817759 Guard FakeDataChannelController state with the network thread.
Tsan bots detected races since callbacks are being made on the network
thread but tests checked the state from the signaling thread.

Bug: none
Change-Id: If854e44159c56c0d12616e0b62ad92018291ed30
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/302281
Reviewed-by: Florent Castelli <orphis@webrtc.org>
Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#39928}
2023-04-24 10:18:27 +00:00
..