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

Unified Diff: samples/chat/chat_server.dart

Issue 10837070: Remove old isolate API and update all code in the repository to use (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comments. Created 8 years, 5 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 | « samples/chat/README ('k') | samples/chat/chat_server_lib.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/chat/chat_server.dart
diff --git a/samples/chat/chat_server.dart b/samples/chat/chat_server.dart
index 3d0e2b79f46a564ec5e47020e5a9c745779810c5..36c1afb41447c6d7664a4d1cd46a80f0ca2a2667 100644
--- a/samples/chat/chat_server.dart
+++ b/samples/chat/chat_server.dart
@@ -16,8 +16,9 @@ void main() {
// stopAfter for that.
int stopAfter;
+ var serverPort = spawnFunction(startChatServer);
ServerMain serverMain =
- new ServerMain.start(new ChatServer(), DEFAULT_HOST, DEFAULT_PORT);
+ new ServerMain.start(serverPort, DEFAULT_HOST, DEFAULT_PORT);
// Start a shutdown timer if requested.
if (stopAfter != null) {
« no previous file with comments | « samples/chat/README ('k') | samples/chat/chat_server_lib.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698