Index: runtime/bin/eventhandler_linux.cc |
diff --git a/runtime/bin/eventhandler_linux.cc b/runtime/bin/eventhandler_linux.cc |
index 2b623915f432ab4211a89cd622707d5272cc80ad..cae740317c0460ec4e56e8e52a003883531c8ea0 100644 |
--- a/runtime/bin/eventhandler_linux.cc |
+++ b/runtime/bin/eventhandler_linux.cc |
@@ -233,6 +233,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); |