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

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

Issue 16125005: Make new StreamController be async by default. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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: sdk/lib/io/secure_server_socket.dart
diff --git a/sdk/lib/io/secure_server_socket.dart b/sdk/lib/io/secure_server_socket.dart
index 7d7dfd1c8f4e632cd07fc96876edc8e279eb4266..364fd53f307306aade20af9c28199295099470ea 100644
--- a/sdk/lib/io/secure_server_socket.dart
+++ b/sdk/lib/io/secure_server_socket.dart
@@ -121,7 +121,7 @@ class RawSecureServerSocket extends Stream<RawSecureSocket> {
bool this.requestClientCertificate,
bool this.requireClientCertificate) {
_socket = serverSocket;
- _controller = new StreamController<RawSecureSocket>(
+ _controller = new StreamController<RawSecureSocket>(sync: true,
floitsch 2013/05/30 12:13:48 next line.
Lasse Reichstein Nielsen 2013/05/31 05:51:59 Done.
onListen: _onSubscriptionStateChange,
onPause: _onPauseStateChange,
onResume: _onPauseStateChange,

Powered by Google App Engine
This is Rietveld 408576698