| Index: services/dart/test/pingpong_target/main.dart
|
| diff --git a/services/dart/test/pingpong_target/main.dart b/services/dart/test/pingpong_target/main.dart
|
| index 2e738d0b463fdb838997917a04ec5217bdd60399..36f8a26a65b111ec1fc70b4251236def942c89a9 100644
|
| --- a/services/dart/test/pingpong_target/main.dart
|
| +++ b/services/dart/test/pingpong_target/main.dart
|
| @@ -52,7 +52,12 @@ class PingPongApplication extends Application {
|
| connection.provideService(PingPongServiceName,
|
| (endpoint) => new PingPongServiceImpl(this, endpoint));
|
| // Close the application when the first connection goes down.
|
| - connection.onError = close;
|
| + connection.onError = closeApplication;
|
| + }
|
| +
|
| + Future closeApplication() async {
|
| + await close();
|
| + assert(MojoHandle.reportLeakedHandles());
|
| }
|
| }
|
|
|
|
|