face: "Closing" WebSocket face when WebSocket tunnel closes

Change-Id: Ief2d643b09469eac7fc92aa5139e41bcb8d1e210
Refs: #1637
This commit is contained in:
Alexander Afanasyev committed 2014-06-06 07:36:54 +03:00
1 parent b56c5b91e9
commit c87bbf8d7f
1 file changed
+1
+1
View File
@@ -89,6 +89,7 @@ WebSocketChannel::handleClose(websocketpp::connection_hdl hdl)
ChannelFaceMap::iterator it = m_channelFaces.find(hdl);
if (it != m_channelFaces.end())
{
it->second->close();
NFD_LOG_DEBUG("handleClose: remove client");
m_channelFaces.erase(it);
}