| Index: runtime/bin/socket_stream_impl.dart
|
| diff --git a/runtime/bin/socket_stream_impl.dart b/runtime/bin/socket_stream_impl.dart
|
| index 504313d12d39c84cd89b9385affecca06749a54d..4a40d7e464dfbb63443a3fee9a2e26455f694a7e 100644
|
| --- a/runtime/bin/socket_stream_impl.dart
|
| +++ b/runtime/bin/socket_stream_impl.dart
|
| @@ -4,7 +4,7 @@
|
|
|
| class _SocketInputStream implements SocketInputStream {
|
| _SocketInputStream(Socket socket) : _socket = socket {
|
| - if (_socket._id == -1) _closed = true;
|
| + if (_socket._closed) _closed = true;
|
| _socket.onClosed = _onClosed;
|
| }
|
|
|
|
|