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

Unified Diff: runtime/lib/isolate.cc

Issue 48713013: Fix http://dartbug.com/14763 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 1 month 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 | « runtime/bin/main.cc ('k') | runtime/lib/isolate_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/isolate.cc
===================================================================
--- runtime/lib/isolate.cc (revision 29857)
+++ runtime/lib/isolate.cc (working copy)
@@ -266,6 +266,12 @@
if (port.IsError()) {
Exceptions::PropagateError(Error::Cast(port));
}
+
+ // The control port is being accessed as a regular port from Dart code. This
+ // is most likely due to the _startIsolate code in dart:isolate. Account for
+ // this by increasing the number of open control ports.
+ isolate->message_handler()->increment_control_ports();
+
return port.raw();
}
« no previous file with comments | « runtime/bin/main.cc ('k') | runtime/lib/isolate_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698