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:
parent
3d1b6e29c6
commit
382308c3fd
@ -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);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user