/**
* Handle close transport
*
* @param \Thruway\Transport\TransportInterface $transport
*/
public function onClose(TransportInterface $transport)
{
Logger::debug($this, "onClose from " . json_encode($transport->getTransportDetails()));
/* @var $session \Thruway\Session */
$session = $this->sessions[$transport];
$session->onClose();
$this->sessions->detach($transport);
}