1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-08 18:47:52 +00:00

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; auto oldAcceptor = m_Acceptor;
m_Acceptor = [acceptor, oldAcceptor, this](std::shared_ptr<Stream> stream) m_Acceptor = [acceptor, oldAcceptor, this](std::shared_ptr<Stream> stream)
{ {
acceptor (stream);
m_Acceptor = oldAcceptor; m_Acceptor = oldAcceptor;
acceptor (stream);
}; };
} }
}); });