VirtualBox

Changeset 30304 in vbox for trunk/src/VBox/Main/HostImpl.cpp


Ignore:
Timestamp:
Jun 18, 2010 10:51:15 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
62850
Message:

Main: fixes to saveSettings and locking calls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/HostImpl.cpp

    r29945 r30304  
    11451145    /* save the global settings */
    11461146    alock.release();
     1147    AutoWriteLock vboxLock(m->pParent COMMA_LOCKVAL_SRC_POS);
    11471148    return rc = m->pParent->saveSettings();
    11481149#else
     
    12001201    /* save the global settings */
    12011202    alock.release();
     1203    AutoWriteLock vboxLock(m->pParent COMMA_LOCKVAL_SRC_POS);
    12021204    return rc = m->pParent->saveSettings();
    12031205#else
     
    17631765        // save the global settings... yeah, on every single filter property change
    17641766        alock.release();
     1767        AutoWriteLock vboxLock(m->pParent COMMA_LOCKVAL_SRC_POS);
    17651768        return m->pParent->saveSettings();
    17661769    }
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