Fixed incorrect order in which protol ids were deleted.

This commit is contained in:
hiker 2015-12-16 07:58:39 +11:00
parent 68e37c902f
commit 07baf05b90

View File

@ -384,7 +384,7 @@ bool ProtocolManager::sendEvent(EventProcessingInfo* event, bool synchronous)
: p->notifyEventAsynchronous(event->m_event);
if (result)
{
event->m_protocols_ids.pop_back();
event->m_protocols_ids.erase(event->m_protocols_ids.begin()+index);
}
else // !result
index++;