Index: runtime/bin/process_patch.dart |
diff --git a/runtime/bin/process_patch.dart b/runtime/bin/process_patch.dart |
index b6d40ee7a3eea18e8b8ee33fb6c0fd75f008734d..3126c26afc0f24822fa8fd222495793a18b8a49a 100644 |
--- a/runtime/bin/process_patch.dart |
+++ b/runtime/bin/process_patch.dart |
@@ -188,7 +188,6 @@ class _ProcessImpl extends _ProcessImplNativeWrapper with _ServiceObject |
bool includeParentEnvironment, |
bool runInShell, |
ProcessStartMode mode) : super() { |
- _processes[_serviceId] = this; |
if (runInShell) { |
arguments = _getShellArguments(path, arguments); |
path = _getShellCommand(); |
@@ -439,7 +438,6 @@ class _ProcessImpl extends _ProcessImplNativeWrapper with _ServiceObject |
_exitCode.complete(exitCode(exitDataBuffer)); |
// Kill stdin, helping hand if the user forgot to do it. |
_stdin._sink.destroy(); |
- _processes.remove(_serviceId); |
} |
exitDataBuffer.setRange( |
@@ -488,8 +486,6 @@ class _ProcessImpl extends _ProcessImplNativeWrapper with _ServiceObject |
return encoding.decode(output); |
} |
- _processes.remove(_serviceId); |
- |
return new ProcessResult( |
result[0], |
result[1], |