| Index: pkg/analysis_server/lib/src/channel/byte_stream_channel.dart
|
| diff --git a/pkg/analysis_server/lib/src/channel/byte_stream_channel.dart b/pkg/analysis_server/lib/src/channel/byte_stream_channel.dart
|
| index b7747cc2ae6b7a2199c739c2e1363994d91df0cb..dce7e5912e154457ae9aa2e9ffb0cae973fb3399 100644
|
| --- a/pkg/analysis_server/lib/src/channel/byte_stream_channel.dart
|
| +++ b/pkg/analysis_server/lib/src/channel/byte_stream_channel.dart
|
| @@ -144,7 +144,11 @@ class ByteStreamServerChannel implements ServerCommunicationChannel {
|
| * Send the string [s] to [_output] followed by a newline.
|
| */
|
| void _outputLine(String s) {
|
| - _output.writeln(s);
|
| + runZoned(() {
|
| + _output.writeln(s);
|
| + }, onError: (e) {
|
| + close();
|
| + });
|
| }
|
|
|
| /**
|
|
|