VirtualBox

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


Ignore:
Timestamp:
May 5, 2015 4:09:15 PM (10 years ago)
Author:
vboxsync
Message:

Machine::temporaryEjectDevice(): fixed the test for the machine state (also allow that the VM is running or in saved state)

File:
1 edited

Legend:

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

    r55642 r55670  
    44194419    AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS);
    44204420
    4421     HRESULT rc = i_checkStateDependency(MutableStateDep);
     4421    HRESULT rc = i_checkStateDependency(MutableOrSavedOrRunningStateDep);
    44224422    if (FAILED(rc)) return rc;
    44234423
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