aboutsummaryrefslogtreecommitdiff
path: root/test/network/fake_network_socket_server.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/network/fake_network_socket_server.cc')
-rw-r--r--test/network/fake_network_socket_server.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/network/fake_network_socket_server.cc b/test/network/fake_network_socket_server.cc
index e2e1319949..bf6ef5f12d 100644
--- a/test/network/fake_network_socket_server.cc
+++ b/test/network/fake_network_socket_server.cc
@@ -276,10 +276,6 @@ FakeNetworkSocketServer::FakeNetworkSocketServer(
wakeup_(/*manual_reset=*/false, /*initially_signaled=*/false) {}
FakeNetworkSocketServer::~FakeNetworkSocketServer() = default;
-void FakeNetworkSocketServer::OnMessageQueueDestroyed() {
- thread_ = nullptr;
-}
-
EmulatedEndpointImpl* FakeNetworkSocketServer::GetEndpointNode(
const rtc::IPAddress& ip) {
return endpoints_container_->LookupByLocalAddress(ip);
@@ -311,10 +307,6 @@ rtc::AsyncSocket* FakeNetworkSocketServer::CreateAsyncSocket(int family,
void FakeNetworkSocketServer::SetMessageQueue(rtc::Thread* thread) {
thread_ = thread;
- if (thread_) {
- thread_->SignalQueueDestroyed.connect(
- this, &FakeNetworkSocketServer::OnMessageQueueDestroyed);
- }
}
// Always returns true (if return false, it won't be invoked again...)