diff options
Diffstat (limited to 'cpp/src/qpid/sys/Serializer.cpp')
-rw-r--r-- | cpp/src/qpid/sys/Serializer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/sys/Serializer.cpp b/cpp/src/qpid/sys/Serializer.cpp index a82982a0c8..86f901aa78 100644 --- a/cpp/src/qpid/sys/Serializer.cpp +++ b/cpp/src/qpid/sys/Serializer.cpp @@ -58,7 +58,7 @@ bool SerializerBase::running() { void SerializerBase::wait() { Mutex::ScopedLock l(lock); - lock.wait(); + if (state == IDLE) lock.wait(); } void SerializerBase::run() { |