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

Unified Diff: dart/sdk/lib/io/websocket_impl.dart

Issue 550173007: Version 1.6.1 (Closed) Base URL: http://dart.googlecode.com/svn/branches/1.6/
Patch Set: Created 6 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
« no previous file with comments | « dart/sdk/lib/html/dartium/html_dartium.dart ('k') | dart/tests/corelib/uri_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/sdk/lib/io/websocket_impl.dart
===================================================================
--- dart/sdk/lib/io/websocket_impl.dart (revision 40021)
+++ dart/sdk/lib/io/websocket_impl.dart (working copy)
@@ -372,6 +372,8 @@
_upgrade(request, _protocolSelector)
.then((WebSocket webSocket) => _controller.add(webSocket))
.catchError(_controller.addError);
+ }, onDone: () {
+ _controller.close();
});
return _controller.stream;
« no previous file with comments | « dart/sdk/lib/html/dartium/html_dartium.dart ('k') | dart/tests/corelib/uri_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698