| Index: runtime/bin/socket_impl.dart
|
| diff --git a/runtime/bin/socket_impl.dart b/runtime/bin/socket_impl.dart
|
| index 07a741f82fae26c97a443661a365b4f82d07b4ec..b462dadc11f98a23eb191ccef6c8a9c640422344 100644
|
| --- a/runtime/bin/socket_impl.dart
|
| +++ b/runtime/bin/socket_impl.dart
|
| @@ -390,7 +390,7 @@ class _Socket extends _SocketBase implements Socket {
|
| InputStream get inputStream() {
|
| if (_inputStream === null) {
|
| if (_handlerMap[_IN_EVENT] !== null ||
|
| - _handlerMap[_CLOSE_EVENT]) {
|
| + _handlerMap[_CLOSE_EVENT] !== null) {
|
| throw new StreamException(
|
| "Cannot get input stream when socket handlers are used");
|
| }
|
|
|