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

Unified Diff: mojo/public/cpp/bindings/tests/multiplex_router_unittest.cc

Issue 2664483002: Support sync mojo IPCs to and from bindings running on a sequence.
Patch Set: Created 3 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
Index: mojo/public/cpp/bindings/tests/multiplex_router_unittest.cc
diff --git a/mojo/public/cpp/bindings/tests/multiplex_router_unittest.cc b/mojo/public/cpp/bindings/tests/multiplex_router_unittest.cc
index 0db42db25fc7e4f5a0c78ae02a8a4d31f9bc62a2..a8ceb01ae0232e4bd78183595e7d061eafa5fbee 100644
--- a/mojo/public/cpp/bindings/tests/multiplex_router_unittest.cc
+++ b/mojo/public/cpp/bindings/tests/multiplex_router_unittest.cc
@@ -42,7 +42,12 @@ class MultiplexRouterTest : public testing::Test {
EmulatePassingEndpointHandle(std::move(endpoint1_), router1_.get());
}
- void TearDown() override {}
+ void TearDown() override {
+ endpoint1_.reset();
+ endpoint0_.reset();
+ router1_ = nullptr;
+ router0_ = nullptr;
+ }
void PumpMessages() { base::RunLoop().RunUntilIdle(); }
« no previous file with comments | « mojo/public/cpp/bindings/sync_handle_watcher.h ('k') | mojo/public/cpp/bindings/tests/report_bad_message_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698