Jean-Baptiste
unread,Mar 19, 2012, 12:55:51 PM3/19/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SpoVNet
Hi SpoVNet team,
In the MCPO.cpp file, in the leaveGroup function, we have:
//Check if member of that group
std::vector< ServiceID >::iterator it;
for (it = ownGroups.begin(); it != ownGroups.end(); it++) {
if ( *it == groupID ) {
ownGroups.erase(it);
logging_debug( "left group: " << groupID.toString() );
}
}
I think that a break; should be added after the logging_debug. If not,
you will modify the ownGroups vector used by iterator it and the
application freezes.
Regards,
JB