Fix ServiceClientLink race condition

This commit is contained in:
Josh Faust 2010-03-13 04:23:09 +00:00
parent e2f293fab2
commit 3715220f69
1 changed files with 4 additions and 0 deletions

View File

@ -52,6 +52,10 @@ ServiceClientLink::ServiceClientLink()
ServiceClientLink::~ServiceClientLink()
{
if (connection_)
{
connection_->drop();
}
}
bool ServiceClientLink::initialize(const ConnectionPtr& connection)