summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/qpid/cluster/PollableQueue.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/qpid/cluster/PollableQueue.h b/cpp/src/qpid/cluster/PollableQueue.h
index e0422e2449..a44c39ad85 100644
--- a/cpp/src/qpid/cluster/PollableQueue.h
+++ b/cpp/src/qpid/cluster/PollableQueue.h
@@ -52,6 +52,8 @@ template <class T> class PollableQueue : public sys::PollableQueue<T> {
}
catch (const std::exception& e) {
QPID_LOG(error, message << ": " << e.what());
+ values.clear();
+ this->stop();
error();
}
}