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

Unified Diff: mojo/public/cpp/bindings/binding.h

Issue 1006653002: Closes the pipe when a Binding is destroyed. This was always the intended (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Replaces two calls with one call to Close(). Created 5 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/bindings/binding.h
diff --git a/mojo/public/cpp/bindings/binding.h b/mojo/public/cpp/bindings/binding.h
index f178431c3f9d5731d669c390c468946cb2bf71a6..a982bdbd4b10642837f8e1306253f0832f43e95b 100644
--- a/mojo/public/cpp/bindings/binding.h
+++ b/mojo/public/cpp/bindings/binding.h
@@ -101,7 +101,7 @@ class Binding : public ErrorHandler {
// implementation unbound.
~Binding() override {
if (internal_router_) {
- DestroyRouter();
+ Close();
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698