• Richard Braakman's avatar
    [libcontacts] make sure UpdateRequest processing continues · ff84e74f
    Richard Braakman authored
    The logic for scheduling UpdateRequest events broke down when
    m_contactsToAppend went empty during a fetch request; even though
    more contacts were coming in through contactsAvailable, no more
    UpdateRequest events would be scheduled until the whole request
    was complete.
    Fixed by making m_updatesPending the definitive flag for whether
    there is an UpdateRequest event on the queue, rather than leaving
    it on during the whole fetch request.
    This change is safe because the flag was only inspected by the
    requestUpdate() helper and had no side meanings. Now all
    UpdateRequest event scheduling goes through requestUpdate().
seasidecache.cpp 110 KB