Index: runtime/bin/socket_patch.dart |
diff --git a/runtime/bin/socket_patch.dart b/runtime/bin/socket_patch.dart |
index dbff3c4c3465311dd598cd9a96b514c1f4d98db4..865726bcefe9aa37844e1de728569695e0ad4123 100644 |
--- a/runtime/bin/socket_patch.dart |
+++ b/runtime/bin/socket_patch.dart |
@@ -1229,7 +1229,7 @@ class _RawSocket extends Stream<RawSocketEvent> implements RawSocket { |
write: () { |
// The write event handler is automatically disabled by the |
// event handler when it fires. |
- _writeEventsEnabled = false; |
+ writeEventsEnabled = false; |
_controller.add(RawSocketEvent.WRITE); |
}, |
closed: () => _controller.add(RawSocketEvent.READ_CLOSED), |
@@ -1726,7 +1726,7 @@ class _RawDatagramSocket extends Stream implements RawDatagramSocket { |
write: () { |
// The write event handler is automatically disabled by the |
// event handler when it fires. |
- _writeEventsEnabled = false; |
+ writeEventsEnabled = false; |
_controller.add(RawSocketEvent.WRITE); |
}, |
closed: () => _controller.add(RawSocketEvent.READ_CLOSED), |