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_ |