Index: runtime/bin/eventhandler_android.cc |
diff --git a/runtime/bin/eventhandler_android.cc b/runtime/bin/eventhandler_android.cc |
index 9f7a8eed2e0edb1ab1b36af16cb6bae4f154efe6..10d7e96bb30e72b9543d8f54db2dceba18344ace 100644 |
--- a/runtime/bin/eventhandler_android.cc |
+++ b/runtime/bin/eventhandler_android.cc |
@@ -218,6 +218,7 @@ void EventHandlerImplementation::HandleInterruptFd() { |
sd->Close(); |
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); |