summaryrefslogtreecommitdiffstats
path: root/server/TcpSocketMonitor.cpp
diff options
context:
space:
mode:
authorBernie Innocenti <codewiz@google.com>2018-02-22 16:37:38 +0900
committerBernie Innocenti <codewiz@google.com>2018-02-22 17:03:24 +0900
commit46a0d88cb398fa5c512fef13c07e7a1d6071a668 (patch)
tree29b0f227dab7dbbefbb9e0104658d0bd6073cd4f /server/TcpSocketMonitor.cpp
parent1dfaacb6fae2d53d2ec57117d8e14717b9b568c1 (diff)
downloadplatform_system_netd-46a0d88cb398fa5c512fef13c07e7a1d6071a668.tar.gz
platform_system_netd-46a0d88cb398fa5c512fef13c07e7a1d6071a668.tar.bz2
platform_system_netd-46a0d88cb398fa5c512fef13c07e7a1d6071a668.zip
Re-enable socket monitoring.
Bug: 72512637 Test: Builds & boots. Change-Id: Iab59007266c3f55af6c08edccd560bffbf29a68a
Diffstat (limited to 'server/TcpSocketMonitor.cpp')
-rw-r--r--server/TcpSocketMonitor.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/server/TcpSocketMonitor.cpp b/server/TcpSocketMonitor.cpp
index 358e4c041..57f1fdaa5 100644
--- a/server/TcpSocketMonitor.cpp
+++ b/server/TcpSocketMonitor.cpp
@@ -322,12 +322,10 @@ TcpSocketMonitor::TcpSocketMonitor() {
mIsSuspended = true;
mPollingThread = std::thread([this] {
(void) this;
-#if 0 // Disable due to crashes in updateSocketStats. b/72512637
while (isRunning()) {
poll();
waitForNextPoll();
}
-#endif
});
}