Index: webrtc/p2p/base/transportcontroller.cc |
diff --git a/webrtc/p2p/base/transportcontroller.cc b/webrtc/p2p/base/transportcontroller.cc |
index 810b96e8d1b4bf31d27218f827d4e4330d51f76d..5dc4b97a0e67ad964a2ec385d561a07255a5efbd 100644 |
--- a/webrtc/p2p/base/transportcontroller.cc |
+++ b/webrtc/p2p/base/transportcontroller.cc |
@@ -296,6 +296,14 @@ TransportChannel* TransportController::CreateTransportChannel_n( |
return dtls; |
} |
+void TransportController::DestroyTransportChannel( |
+ const std::string& transport_name, |
+ int component) { |
+ network_thread_->Invoke<void>( |
+ RTC_FROM_HERE, rtc::Bind(&TransportController::DestroyTransportChannel_n, |
+ this, transport_name, component)); |
+} |
+ |
void TransportController::DestroyTransportChannel_n( |
const std::string& transport_name, |
int component) { |