change acceptor back to previous before processing

This commit is contained in:
orignal 2017-03-30 11:22:38 -04:00
parent 3d1b6e29c6
commit 382308c3fd

View File

@ -1094,8 +1094,8 @@ namespace stream
auto oldAcceptor = m_Acceptor;
m_Acceptor = [acceptor, oldAcceptor, this](std::shared_ptr<Stream> stream)
{
acceptor (stream);
m_Acceptor = oldAcceptor;
acceptor (stream);
};
}
});