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

Unified Diff: mojo/public/dart/src/proxy.dart

Issue 1060193002: Provide mechanism to close immediately to Dart bindings (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 8 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 | « mojo/public/dart/src/event_stream.dart ('k') | mojo/public/dart/src/stub.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/dart/src/proxy.dart
diff --git a/mojo/public/dart/src/proxy.dart b/mojo/public/dart/src/proxy.dart
index a84ca3ec0c23726726e432aa7f8e111552c27f25..863e734d8df5f301078154f2c01cf4312f9ffa49 100644
--- a/mojo/public/dart/src/proxy.dart
+++ b/mojo/public/dart/src/proxy.dart
@@ -47,12 +47,12 @@ abstract class Proxy extends core.MojoEventStreamListener {
}
@override
- Future close({bool nodefer: false}) {
+ Future close({bool immediate: false}) {
for (var completer in _completerMap.values) {
completer.completeError(new ProxyCloseException('Proxy closed'));
}
_completerMap.clear();
- return super.close(nodefer: nodefer);
+ return super.close(immediate: immediate);
}
void sendMessage(Struct message, int name) {
« no previous file with comments | « mojo/public/dart/src/event_stream.dart ('k') | mojo/public/dart/src/stub.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698