Index: runtime/bin/eventhandler_macos.h |
diff --git a/runtime/bin/eventhandler_macos.h b/runtime/bin/eventhandler_macos.h |
index 4ea1a0150cd4489af6d816434234557c0eb3e281..4e32dc0656f159b44e50d34b16240d075a38b116 100644 |
--- a/runtime/bin/eventhandler_macos.h |
+++ b/runtime/bin/eventhandler_macos.h |
@@ -43,13 +43,6 @@ class SocketData { |
bool HasReadEvent(); |
bool HasWriteEvent(); |
- void Close() { |
- port_ = 0; |
- mask_ = 0; |
- VOID_TEMP_FAILURE_RETRY(close(fd_)); |
- fd_ = -1; |
- } |
- |
bool IsListeningSocket() { return (mask_ & (1 << kListeningSocket)) != 0; } |
void SetPortAndMask(Dart_Port port, intptr_t mask) { |