fix crash when using an already-deleted xmlrpc client if the client failed to connect

This commit is contained in:
Josh Faust 2010-06-08 19:10:46 +00:00
parent 2a0670e86d
commit cb3a561852
1 changed files with 2 additions and 0 deletions

View File

@ -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);