ServerChannelRequesterImpl::channelStateChange not everything is disconnect
This commit is contained in:
1 parent
315bd87f8e
commit
d7e0365f1e
1 file changed
+4
-1
@@ -839,8 +839,11 @@ void ServerChannelRequesterImpl::channelCreated(const Status& status, Channel::s
|
||||
}
|
||||
}
|
||||
|
||||
void ServerChannelRequesterImpl::channelStateChange(Channel::shared_pointer const & /*channel*/, const Channel::ConnectionState /*isConnected*/)
|
||||
void ServerChannelRequesterImpl::channelStateChange(Channel::shared_pointer const & /*channel*/, const Channel::ConnectionState isConnected)
|
||||
{
|
||||
if(isConnected==Channel::CONNECTED || isConnected==Channel::NEVER_CONNECTED)
|
||||
return;
|
||||
|
||||
if(Transport::shared_pointer transport = _transport.lock())
|
||||
{
|
||||
ChannelHostingTransport::shared_pointer casTransport = dynamic_pointer_cast<ChannelHostingTransport>(transport);
|
||||
|
||||
Reference in new issue
Block a user