summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2010-06-16 18:25:30 +0000
committerGordon Sim <gsim@apache.org>2010-06-16 18:25:30 +0000
commit9542cbdc585f316e3d16e7bcb554e6969a563725 (patch)
tree717e86269cf2d58b4ae2aad7d75bd5fa90244586 /cpp/src
parente06516ab7638b0ee1351bf1374818b4e6184e362 (diff)
downloadqpid-python-9542cbdc585f316e3d16e7bcb554e6969a563725.tar.gz
remove assertion for condition that is in fact valid (the callback could have been processed on the back of an event concurrently returned with the interrupt request)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@955339 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/qpid/sys/DispatchHandle.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/cpp/src/qpid/sys/DispatchHandle.cpp b/cpp/src/qpid/sys/DispatchHandle.cpp
index 605edabc64..95da87aa28 100644
--- a/cpp/src/qpid/sys/DispatchHandle.cpp
+++ b/cpp/src/qpid/sys/DispatchHandle.cpp
@@ -291,8 +291,6 @@ void DispatchHandle::processEvent(Poller::EventType type) {
break;
case Poller::INTERRUPTED:
{
- // We could only be interrupted if we also had a callback to do
- assert(callbacks.size() > 0);
// We'll actually do the interrupt below
}
break;