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 7a9b34d7c203a0088b3923b29556bd8c9b8f847a..bcbc731d4e72006b281e1a45ec735c9541840b4b 100644 |
--- a/sdk/lib/io/secure_server_socket.dart |
+++ b/sdk/lib/io/secure_server_socket.dart |
@@ -198,14 +198,14 @@ class RawSecureServerSocket extends Stream<RawSecureSocket> { |
if (_closed) { |
throw e; |
} else { |
- _controller.signalError(e); |
+ _controller.addError(e); |
close(); |
} |
}); |
} |
void _onError(e) { |
- _controller.signalError(e); |
+ _controller.addError(e); |
close(); |
} |