Index: runtime/bin/eventhandler_android.cc |
diff --git a/runtime/bin/eventhandler_android.cc b/runtime/bin/eventhandler_android.cc |
index 594a6db842193f7548fe6bd5ff2463acc6c534ca..258a96b2112ca957e2d3ef686dbf86c73ad2db1b 100644 |
--- a/runtime/bin/eventhandler_android.cc |
+++ b/runtime/bin/eventhandler_android.cc |
@@ -224,6 +224,7 @@ void EventHandlerImplementation::HandleInterruptFd() { |
} |
socket_map_.Remove(GetHashmapKeyFromFd(fd), GetHashmapHashFromFd(fd)); |
delete sd; |
+ DartUtils::PostInt32(msg.dart_port, 1 << kDestroyedEvent); |
} else { |
// Setup events to wait for. |
sd->SetPortAndMask(msg.dart_port, msg.data); |