VirtualBox

Changeset 71993 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Apr 24, 2018 7:40:00 AM (7 years ago)
Author:
vboxsync
Message:

bugref:8345. Splitted two AutoWriteLocks into two different scopes because the assertion "Wrong lock order" arises on the debug build.

File:
1 edited

Legend:

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

    r71992 r71993  
    964964            machine->mParent->i_markRegistryModified(uuid);
    965965            srcLock.acquire();
    966 
    967             // save the global settings; for that we should hold only the VirtualBox lock
     966        }
     967
     968        /* save the global settings; for that we should hold only the VirtualBox lock */
     969        {
    968970            AutoWriteLock vboxLock(machine->mParent COMMA_LOCKVAL_SRC_POS);
    969971            rc = machine->mParent->i_saveSettings();
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