| 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 fd12afdc374c68f43d7ff5ca946d70e8ad2884c2..2ed55e4f244839fc309bc8f9fa30ad5653adc025 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());
|
| }
|
| }
|
|
|
|
|