VirtualBox

Changeset 26051 in vbox


Ignore:
Timestamp:
Jan 26, 2010 3:56:17 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
56965
Message:

Main: fix assertion while taking offline snapshot

File:
1 edited

Legend:

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

    r25936 r26051  
    12621262        /* save all current settings to ensure current changes are committed and
    12631263         * hard disks are fixed up */
     1264
     1265        // VirtualBox lock before machine lock
    12641266        alock.release();
    1265 
    12661267        AutoWriteLock vboxLock(mParent COMMA_LOCKVAL_SRC_POS);
     1268        alock.acquire();
    12671269        HRESULT rc = saveSettings();
    12681270        if (FAILED(rc)) return rc;
    1269 
    1270         alock.acquire();
    12711271    }
    12721272
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