diff --git a/src/network/protocol_manager.cpp b/src/network/protocol_manager.cpp index 308a25e20..dc1bc2e98 100644 --- a/src/network/protocol_manager.cpp +++ b/src/network/protocol_manager.cpp @@ -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++;