Browse Source

change acceptor back to previous before processing

pull/839/head
orignal 8 years ago
parent
commit
382308c3fd
  1. 2
      Streaming.cpp

2
Streaming.cpp

@ -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…
Cancel
Save