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

Unified Diff: runtime/bin/process_impl.dart

Issue 10962012: Use native wrapper fields to store socket ids. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 37b4c5209b23bb5691d4a6c5eecfcda4bd836eae..a6a819755d109d26e7e8875a3e95781a27b60e1f 100644
--- a/runtime/bin/process_impl.dart
+++ b/runtime/bin/process_impl.dart
@@ -149,6 +149,11 @@ class _Process extends Process {
}
_started = true;
+ _in._closed = false;
+ _out._closed = false;
+ _err._closed = false;
+ _exitHandler._closed = false;
+
// Make sure to activate socket handlers now that the file
// descriptors have been set.
_in._activateHandlers();
« no previous file with comments | « runtime/bin/process.cc ('k') | runtime/bin/socket.h » ('j') | runtime/bin/socket.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698