VirtualBox

Changeset 35875 in vbox


Ignore:
Timestamp:
Feb 7, 2011 2:39:11 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
69881
Message:

Console::TakeSnapshot: Mishandled the Stuck state - just use Global::IsOnline() to figure out the online property of the VM.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/ConsoleImpl.cpp

    r35758 r35875  
    30503050
    30513051    // b) one extra sub-operations for online snapshots OR offline snapshots that have a saved state (needs to be copied)
    3052     bool fTakingSnapshotOnline = ((mMachineState == MachineState_Running) || (mMachineState == MachineState_Paused));
     3052    bool const fTakingSnapshotOnline = Global::IsOnline(mMachineState);
    30533053
    30543054    LogFlowFunc(("fTakingSnapshotOnline = %d, mMachineState = %d\n", fTakingSnapshotOnline, mMachineState));
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