Corrects count synchronization for the remaining Outlook notification events.

cusax-fix 4827
Vincent Lucas 13 years ago
parent 8c45cc938d
commit 084e2b42b5

@ -370,7 +370,7 @@ public void run()
hasMore = (contactIds.size() > 0);
if(hasMore)
{
idFunction = contactIds.remove(0);
idFunction = contactIds.get(0);
}
}
while(hasMore)
@ -394,10 +394,11 @@ else if(function == 'i')
}
synchronized(notificationThreadMutex)
{
contactIds.remove(0);
hasMore = (contactIds.size() > 0);
if(hasMore)
{
idFunction = contactIds.remove(0);
idFunction = contactIds.get(0);
}
}
}

Loading…
Cancel
Save