You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gs...@apache.org on 2010/06/16 20:25:30 UTC

svn commit: r955339 - /qpid/trunk/qpid/cpp/src/qpid/sys/DispatchHandle.cpp

Author: gsim
Date: Wed Jun 16 18:25:30 2010
New Revision: 955339

URL: http://svn.apache.org/viewvc?rev=955339&view=rev
Log:
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)

Modified:
    qpid/trunk/qpid/cpp/src/qpid/sys/DispatchHandle.cpp

Modified: qpid/trunk/qpid/cpp/src/qpid/sys/DispatchHandle.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/sys/DispatchHandle.cpp?rev=955339&r1=955338&r2=955339&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/sys/DispatchHandle.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/sys/DispatchHandle.cpp Wed Jun 16 18:25:30 2010
@@ -291,8 +291,6 @@ void DispatchHandle::processEvent(Poller
         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;



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org