Style

parent 282db62b
......@@ -1852,22 +1852,23 @@ int CVANetClientImpl::Disconnect()
delete m_pCommandChannel;
m_pCommandChannel = NULL;
}
if( m_pHeadChannel )
{
m_pHeadChannel->Close();
delete m_pHeadChannel;
m_pHeadChannel = NULL;
}
m_pEventReceiver->StopGently( true );
if( m_pEventChannel )
{
m_pEventChannel->Close();
delete m_pEventChannel;
m_pEventChannel = NULL;
}
m_bConnected = false;
m_bShutdownFlag = false;
return VA_NO_ERROR;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment