fix crash when using an already-deleted xmlrpc client if the client failed to connect
This commit is contained in:
parent
2a0670e86d
commit
cb3a561852
|
@ -399,6 +399,8 @@ bool Subscription::negotiateConnection(const std::string& xmlrpc_uri)
|
|||
{
|
||||
udp_transport->close();
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
ROSCPP_LOG_DEBUG("Began asynchronous xmlrpc connection to [%s:%d]", peer_host.c_str(), peer_port);
|
||||
|
|
Loading…
Reference in New Issue