Fix ServiceClientLink race condition
This commit is contained in:
parent
e2f293fab2
commit
3715220f69
|
@ -52,6 +52,10 @@ ServiceClientLink::ServiceClientLink()
|
|||
|
||||
ServiceClientLink::~ServiceClientLink()
|
||||
{
|
||||
if (connection_)
|
||||
{
|
||||
connection_->drop();
|
||||
}
|
||||
}
|
||||
|
||||
bool ServiceClientLink::initialize(const ConnectionPtr& connection)
|
||||
|
|
Loading…
Reference in New Issue