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

Unified Diff: bin/process_impl.dart

Issue 8249007: Implement the full process interface for Windows (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
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
« no previous file with comments | « bin/eventhandler_win.cc ('k') | bin/process_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bin/process_impl.dart
===================================================================
--- bin/process_impl.dart (revision 380)
+++ bin/process_impl.dart (working copy)
@@ -122,10 +122,10 @@
if (_closed) {
throw new ProcessException("Process closed");
}
- _in.close();
- _out.close();
- _err.close();
- _exitHandler.close();
+ if (_in._id != 0) { _in.close(); }
+ if (_out._id != 0) { _out.close(); }
+ if (_err._id != 0) { _err.close(); }
+ if (_exitHandler._id != 0) { _exitHandler.close(); }
_closed = true;
}
« no previous file with comments | « bin/eventhandler_win.cc ('k') | bin/process_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698