| Index: benchmarks/mojo_rtt_benchmark/lib/main.dart
|
| diff --git a/benchmarks/mojo_rtt_benchmark/lib/main.dart b/benchmarks/mojo_rtt_benchmark/lib/main.dart
|
| index c5537245e8a0e79121631314bcf070b9601f12c5..7a2f8739c3b2fdd0719f9dcb25334b2c12499134 100644
|
| --- a/benchmarks/mojo_rtt_benchmark/lib/main.dart
|
| +++ b/benchmarks/mojo_rtt_benchmark/lib/main.dart
|
| @@ -54,7 +54,7 @@ class EchoTracingApp extends Application {
|
| for (int i = 0; i < _numClients; i++) {
|
| var newProxy = new EchoProxy.unbound();
|
| newProxy.errorFuture.then((e) {
|
| - _errorHandler();
|
| + _errorHandler(e);
|
| });
|
| connectToService(echoUrl, newProxy);
|
| _echoProxies.add(newProxy);
|
| @@ -99,7 +99,7 @@ class EchoTracingApp extends Application {
|
| return _echoProxies[idx].ptr.echoString(s);
|
| }
|
|
|
| - _errorHandler() {
|
| + _errorHandler(Object e) {
|
| _doEcho = false;
|
| return Future.wait(_echoProxies.map((p) => p.close())).then((_) {
|
| MojoHandle.reportLeakedHandles();
|
|
|