VirtualBox

Changeset 22194 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 12, 2009 8:35:51 AM (15 years ago)
Author:
vboxsync
Message:

Main: fix taking snapshots broken by r50951

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

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

    r22173 r22194  
    23372337{
    23382338    AutoCaller autoCaller(this);
    2339     AssertReturn(autoCaller.rc(), "");
     2339    AssertReturn(!autoCaller.rc(), "");
    23402340
    23412341    /* mm.format is const, no need to lock */
  • trunk/src/VBox/Main/MachineImpl.cpp

    r22186 r22194  
    89278927    AssertComRCReturn (autoCaller.rc(), autoCaller.rc());
    89288928
    8929     AutoWriteLock alock(this);
     8929    AutoMultiWriteLock2 alock(mParent, this);
     8930            // saveSettings needs VirtualBox lock
    89308931
    89318932    AssertReturn(!mSnapshotData.mSnapshot.isNull(), E_FAIL);
Note: See TracChangeset for help on using the changeset viewer.

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