From 6da55d10ab271bea0f2ef9aa47bf3ea4b5137549 Mon Sep 17 00:00:00 2001 From: orignal Date: Sat, 4 Oct 2014 16:57:45 -0400 Subject: [PATCH] fixed race condition --- Streaming.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Streaming.cpp b/Streaming.cpp index 3c445aeb..4ff5273e 100644 --- a/Streaming.cpp +++ b/Streaming.cpp @@ -363,7 +363,7 @@ namespace stream m_LocalDestination->Sign (packet, size, signature); p->len = size; - m_Service.post (boost::bind (&Stream::SendPacket, this, p)); + SendPacket (p); LogPrint ("FIN sent"); } }