Index: mojo/public/cpp/bindings/lib/multiplex_router.cc |
diff --git a/mojo/public/cpp/bindings/lib/multiplex_router.cc b/mojo/public/cpp/bindings/lib/multiplex_router.cc |
index 2da459ae8f8ca5ee8704164bbeefaad3a93a2c88..022b6b2e3707988abb77f182ffb7c0ffaf1dcabd 100644 |
--- a/mojo/public/cpp/bindings/lib/multiplex_router.cc |
+++ b/mojo/public/cpp/bindings/lib/multiplex_router.cc |
@@ -440,6 +440,7 @@ InterfaceId MultiplexRouter::AssociateInterface( |
} while (base::ContainsKey(endpoints_, id)); |
InterfaceEndpoint* endpoint = new InterfaceEndpoint(this, id); |
+ endpoint->DisableSequenceConsistencyAssertions(); |
endpoints_[id] = endpoint; |
if (encountered_error_) |
UpdateEndpointStateMayRemove(endpoint, PEER_ENDPOINT_CLOSED); |
@@ -960,6 +961,7 @@ MultiplexRouter::InterfaceEndpoint* MultiplexRouter::FindOrInsertEndpoint( |
InterfaceEndpoint* endpoint = FindEndpoint(id); |
if (!endpoint) { |
endpoint = new InterfaceEndpoint(this, id); |
+ endpoint->DisableSequenceConsistencyAssertions(); |
gab
2017/03/24 15:46:45
That seems like a very large hammer, can we use th
yzshen1
2017/03/24 16:58:09
I am the one who suggested that the check should b
|
endpoints_[id] = endpoint; |
if (inserted) |
*inserted = true; |