Index: net/tools/quic/quic_client.h |
diff --git a/net/tools/quic/quic_client.h b/net/tools/quic/quic_client.h |
index 47d4cec913df72a1261a34c62c5b495e5f9ed25c..ba824d22e4a98d6c61eb9c86dab424158cccd64b 100644 |
--- a/net/tools/quic/quic_client.h |
+++ b/net/tools/quic/quic_client.h |
@@ -204,6 +204,9 @@ class QuicClient : public EpollCallbackInterface, |
// and binds the socket to our address. |
bool CreateUDPSocket(); |
+ // If the socket has been created, then unregister and close() the FD. |
+ void CleanUpUDPSocket(); |
+ |
// Read a UDP packet and hand it to the framer. |
bool ReadAndProcessPacket(); |