Index: runtime/bin/socket.h |
diff --git a/runtime/bin/socket.h b/runtime/bin/socket.h |
index 332ec19c9309a6f23ede38b16eb887bce9072f15..6a50d796da61ab37c81820a7c5098ef07dba7cca 100644 |
--- a/runtime/bin/socket.h |
+++ b/runtime/bin/socket.h |
@@ -402,7 +402,6 @@ class ListeningSocketRegistry { |
ListeningSocketRegistry() : mutex_(new Mutex()) {} |
~ListeningSocketRegistry() { |
- CloseAllSafe(); |
delete mutex_; |
mutex_ = NULL; |
} |
@@ -438,10 +437,6 @@ class ListeningSocketRegistry { |
return NULL; |
} |
- bool CloseOneSafe(OSSocket* os_socket); |
- void CloseAllSafe(); |
- |
- // TODO(zra): Replace std::map with the HashMap in platform/hashmap.h. |
std::map<intptr_t, OSSocket*> sockets_by_port_; |
std::map<intptr_t, OSSocket*> sockets_by_fd_; |
Mutex *mutex_; |