Index: runtime/bin/eventhandler_macos.cc |
diff --git a/runtime/bin/eventhandler_macos.cc b/runtime/bin/eventhandler_macos.cc |
index 9a60d6f0037e547f891872d35dc1c3a363639862..15700159f971c2bcd4478a60539cdd61a6049761 100644 |
--- a/runtime/bin/eventhandler_macos.cc |
+++ b/runtime/bin/eventhandler_macos.cc |
@@ -244,6 +244,7 @@ void EventHandlerImplementation::HandleInterruptFd() { |
} |
socket_map_.Remove(GetHashmapKeyFromFd(fd), GetHashmapHashFromFd(fd)); |
delete sd; |
+ DartUtils::PostInt32(msg.dart_port, 1 << kDestroyedEvent); |
} else { |
if ((msg.data & (1 << kInEvent)) != 0 && sd->IsClosedRead()) { |
DartUtils::PostInt32(msg.dart_port, 1 << kCloseEvent); |