| Index: samples/proxy/proxy.dart
|
| diff --git a/samples/proxy/proxy.dart b/samples/proxy/proxy.dart
|
| index 3d72d11dd6a43137972c10539eedb6edc9629105..da8077abf0511ab220538f848648eccfa8ed2941 100644
|
| --- a/samples/proxy/proxy.dart
|
| +++ b/samples/proxy/proxy.dart
|
| @@ -35,9 +35,7 @@ class RpcProxy {
|
| Completer completer = new Completer();
|
| futurePort.then((SendPort port) {
|
| args = _filterArgs(args);
|
| - port.call({"command" : command, "args" : args}).receive(
|
| - (value, ignoreReplyTo) {
|
| - assert(ignoreReplyTo === null);
|
| + port.call({"command" : command, "args" : args}).then((value) {
|
| value = _filterException(value);
|
| if (adjustReply != null) {
|
| // give derived proxy class a chance to transate SendPort to
|
|
|