/* * Copyright 2018 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree.
*/
DtlsTransport::~DtlsTransport() { // TODO(tommi): Due to a reference being held by the RtpSenderBase // implementation, the last reference to the `DtlsTransport` instance can // be released on the signaling thread. // RTC_DCHECK_RUN_ON(owner_thread_);
// We depend on the signaling thread to call Clear() before dropping // its last reference to this object.
// If there are non `owner_thread_` references outstanding, and those // references are the last ones released, we depend on Clear() having been // called from the owner_thread before the last reference is deleted. // `Clear()` is currently called from `JsepTransport::~JsepTransport`.
RTC_DCHECK(owner_thread_->IsCurrent() || !internal_dtls_transport_);
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.