Chromium Code Reviews| Index: runtime/bin/http_impl.dart |
| =================================================================== |
| --- runtime/bin/http_impl.dart (revision 5866) |
| +++ runtime/bin/http_impl.dart (working copy) |
| @@ -932,7 +932,7 @@ |
| } |
| void _propagateError(Exception e) { |
| - if (_response._streamErrorHandler != null) { |
| + if (_response != null && _response._streamErrorHandler != null) { |
| _response._streamErrorHandler(e); |
| } |
| } |