From 8e381e02982369ea96ae5b251c38f994e671c8d3 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Tue, 3 Sep 2013 10:42:19 +0200 Subject: [PATCH] cluster: Make sure messages are processed in-order. --- components/cluster/endpoint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/cluster/endpoint.cpp b/components/cluster/endpoint.cpp index ad74889a3..0bd15df35 100644 --- a/components/cluster/endpoint.cpp +++ b/components/cluster/endpoint.cpp @@ -98,7 +98,7 @@ void Endpoint::MessageThreadProc(const Stream::Ptr& stream) return; } - Utility::QueueAsyncCallback(boost::bind(boost::ref(Endpoint::OnMessageReceived), GetSelf(), message)); + OnMessageReceived(GetSelf(), message); } }