Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(503)

Unified Diff: runtime/bin/process_impl.dart

Issue 8413034: New OutputStream interface (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/bin/process_impl.dart
diff --git a/runtime/bin/process_impl.dart b/runtime/bin/process_impl.dart
index 6dd8b9bb04bebd4d62b3a3646c303b2ef1b9b8ef..f6c0fabf28be0eb7079166532b86f96fb41385cb 100644
--- a/runtime/bin/process_impl.dart
+++ b/runtime/bin/process_impl.dart
@@ -49,6 +49,12 @@ class _Process implements Process {
}
_started = true;
+ // Make sure to activate socket handlers now that the file
+ // descriptors have been set.
+ _in._activateHandlers();
+ _out._activateHandlers();
+ _err._activateHandlers();
+
// Setup an exit handler to handle internal cleanup and possible
// callback when a process terminates.
_exitHandler.setDataHandler(() {

Powered by Google App Engine
This is Rietveld 408576698