VirtualBox

Changeset 73733 in vbox for trunk/src


Ignore:
Timestamp:
Aug 17, 2018 12:31:24 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
124414
Message:

Main/CloudProviderManager: fix accidentally introduced last second breakage of the extpack case

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/CloudProviderManagerImpl.cpp

    r73716 r73733  
    7575        // Make sure that the current value doesn't match, forcing a refresh.
    7676        mcExtPackMgrUpdate--;
    77         iRefreshProviders();
     77        i_refreshProviders();
    7878    }
    7979#else
     
    103103void CloudProviderManager::i_refreshProviders()
    104104{
     105    uint64_t cExtPackMgrUpdate;
    105106    {
    106107        AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS);
    107         uint64_t cExtPackMgrUpdate = mpExtPackMgr->i_getUpdateCounter();
     108        cExtPackMgrUpdate = mpExtPackMgr->i_getUpdateCounter();
    108109        if (cExtPackMgrUpdate == mcExtPackMgrUpdate)
    109110            return;
     
    113114    // Reread the current value to figure out if some other thead did the work
    114115    // already before this thread got hold of the write lock.
    115     cExtPackMgrUpdate = pExtPackMgr->i_getUpdateCounter();
     116    cExtPackMgrUpdate = mpExtPackMgr->i_getUpdateCounter();
    116117    if (cExtPackMgrUpdate == mcExtPackMgrUpdate)
    117118        return;
     
    129130    std::vector<com::Utf8Str> astrExtPackNames;
    130131    com::Guid idObj(COM_IIDOF(ICloudProviderManager));
    131     pExtPackMgr->i_queryObjects(idObj.toString(), apObjects, &astrExtPackNames);
     132    mpExtPackMgr->i_queryObjects(idObj.toString(), apObjects, &astrExtPackNames);
    132133    for (unsigned i = 0; i < apObjects.size(); i++)
    133134    {
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette