summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cpp/src/qpid/broker/Timer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qpid/broker/Timer.cpp b/cpp/src/qpid/broker/Timer.cpp
index 9005a7cd6e..0b0d3ba63d 100644
--- a/cpp/src/qpid/broker/Timer.cpp
+++ b/cpp/src/qpid/broker/Timer.cpp
@@ -60,6 +60,7 @@ void Timer::run()
tasks.pop();
} else if(t->time < AbsTime::now()) {
tasks.pop();
+ Monitor::ScopedUnlock u(monitor);
t->fire();
} else {
monitor.wait(t->time);