Fix crash in send

This commit is contained in:
badaix 2020-05-01 20:12:13 +02:00
parent 9b57dd21ba
commit f81c67e70e

View file

@ -133,7 +133,7 @@ void ClientConnection::disconnect()
void ClientConnection::sendNext()
{
auto& message = messages_.front();
boost::asio::streambuf streambuf;
static boost::asio::streambuf streambuf;
std::ostream stream(&streambuf);
tv t;
message.msg->sent = t;