Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(443)

Unified Diff: services/dart/test/pingpong.dart

Issue 878883002: Dart: Adjusts class Application for removal of Application/Shell Client= (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/dart/test/echo.dart ('k') | services/dart/test/pingpong_target.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/dart/test/pingpong.dart
diff --git a/services/dart/test/pingpong.dart b/services/dart/test/pingpong.dart
index c0fe32f4ae4010161db91a7bf33b5cd73d511d7e..65870592c23eb05d1f12932228efc021b64c7ba4 100644
--- a/services/dart/test/pingpong.dart
+++ b/services/dart/test/pingpong.dart
@@ -94,6 +94,9 @@ class PingPongServiceImpl extends PingPongServiceStub {
_proxy.close();
}
close();
+ if (_application != null) {
+ _application.close();
+ }
}
}
@@ -105,8 +108,8 @@ class PingPongApplication extends Application {
}
main(List args) {
- MojoHandle shellHandle = new MojoHandle(args[0]);
+ MojoHandle appHandle = new MojoHandle(args[0]);
String url = args[1];
- var pingPongApplication = new PingPongApplication.fromHandle(shellHandle);
+ var pingPongApplication = new PingPongApplication.fromHandle(appHandle);
pingPongApplication.listen();
}
« no previous file with comments | « services/dart/test/echo.dart ('k') | services/dart/test/pingpong_target.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698