Index: runtime/bin/socket_patch.dart |
diff --git a/runtime/bin/socket_patch.dart b/runtime/bin/socket_patch.dart |
index 0edd4680a5adf38c34851a57d25ea88ccd525484..144696d9119f34fe48c02a6f73d13f21e1530f84 100644 |
--- a/runtime/bin/socket_patch.dart |
+++ b/runtime/bin/socket_patch.dart |
@@ -836,7 +836,7 @@ class _NativeSocket extends NativeFieldWrapperClass1 { |
sendWriteEvents = write; |
if (read) issueReadEvent(); |
if (write) issueWriteEvent(); |
- if (eventPort == null && !isClosing && !isClosed) { |
+ if (eventPort == null) { |
int flags = typeFlags & TYPE_TYPE_MASK; |
if (!isClosedRead) flags |= 1 << READ_EVENT; |
if (!isClosedWrite) flags |= 1 << WRITE_EVENT; |