Fix comment - ice transport is cleared on the networking thread.
Bug: chromium:907849 Change-Id: I15afe28d3fb2a175a6e2e7491dc33d36f9f9cd32 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/132008 Commit-Queue: Marina Ciocea <marinaciocea@webrtc.org> Commit-Queue: Harald Alvestrand <hta@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27509}
This commit is contained in:
parent
7a53f666a7
commit
88718fdce7
@ -16,9 +16,9 @@
|
||||
namespace webrtc {
|
||||
|
||||
IceTransportWithPointer::~IceTransportWithPointer() {
|
||||
// We depend on the signaling thread to call Clear() before dropping
|
||||
// We depend on the networking thread to call Clear() before dropping
|
||||
// its last reference to this object; if the destructor is called
|
||||
// on the signaling thread, it's OK to not have called Clear().
|
||||
// on the networking thread, it's OK to not have called Clear().
|
||||
if (internal_) {
|
||||
RTC_DCHECK_RUN_ON(creator_thread_);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user