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

Unified Diff: mojo/edk/system/ports/node.cc

Issue 2063113002: [mojo-edk] Reset Port::send_on_proxy_removal after sending message. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/edk/system/node_controller.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/ports/node.cc
diff --git a/mojo/edk/system/ports/node.cc b/mojo/edk/system/ports/node.cc
index 9aa9c350c8b059f3053bd5bd7bc8ae41f9c5508e..f20acb0759db3cda826be2e1529330c7ac0a690a 100644
--- a/mojo/edk/system/ports/node.cc
+++ b/mojo/edk/system/ports/node.cc
@@ -1270,6 +1270,7 @@ void Node::MaybeRemoveProxy_Locked(const LockedPort& port,
ScopedMessage& message = port->send_on_proxy_removal->second;
delegate_->ForwardMessage(to_node, std::move(message));
+ port->send_on_proxy_removal.reset();
}
} else {
DVLOG(2) << "Cannot remove port " << port_name << "@" << name_
« no previous file with comments | « mojo/edk/system/node_controller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698