Make Isolate streams single-subscription.

Review URL: https://codereview.chromium.org//13866015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21192 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
floitsch@google.com 2013-04-10 09:45:05 +00:00
parent d4fcf3067c
commit 9ad97b83cb

View file

@ -38,7 +38,7 @@ external bool _isCloseToken(var object);
class IsolateStream extends Stream<dynamic> {
bool _isClosed = false;
final ReceivePort _port;
StreamController _controller = new StreamController.broadcast();
StreamController _controller = new StreamController();
IsolateStream._fromOriginalReceivePort(this._port) {
_port.receive((message, replyTo) {