mirror of
https://github.com/dart-lang/sdk
synced 2024-11-05 18:22:09 +00:00
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:
parent
d4fcf3067c
commit
9ad97b83cb
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue