# HG changeset patch # User Sebastien Jodogne # Date 1372957398 -7200 # Node ID d665b8fc8560b24175402b7138d87f135e37775d # Parent bb7ef0b076c8f8b044d75dcb7584856cbb206381 fix diff -r bb7ef0b076c8 -r d665b8fc8560 Core/MultiThreading/ThreadedCommandProcessor.cpp --- a/Core/MultiThreading/ThreadedCommandProcessor.cpp Thu Jul 04 16:57:51 2013 +0200 +++ b/Core/MultiThreading/ThreadedCommandProcessor.cpp Thu Jul 04 19:03:18 2013 +0200 @@ -107,10 +107,9 @@ void ThreadedCommandProcessor::Post(ICommand* command) { - queue_.Enqueue(command); - { boost::mutex::scoped_lock lock(mutex_); + queue_.Enqueue(command); remainingCommands_++; } }