| Index: runtime/bin/process_patch.dart
|
| diff --git a/runtime/bin/process_patch.dart b/runtime/bin/process_patch.dart
|
| index 94b36118008a5b1fbfb314328e48796c143d3256..1dd8bf63ea34589da7958c16c4c21aa6266e5c23 100644
|
| --- a/runtime/bin/process_patch.dart
|
| +++ b/runtime/bin/process_patch.dart
|
| @@ -198,7 +198,10 @@ class _ProcessImpl extends NativeFieldWrapperClass1 implements Process {
|
|
|
| exitDataRead += _exitHandler.inputStream.readInto(
|
| exitDataBuffer, exitDataRead, EXIT_DATA_SIZE - exitDataRead);
|
| - if (exitDataRead == EXIT_DATA_SIZE) handleExit();
|
| + if (exitDataRead == EXIT_DATA_SIZE) {
|
| + _exitHandler.close();
|
| + handleExit();
|
| + }
|
| };
|
|
|
| completer.complete(this);
|
|
|