VirtualBox

Ignore:
Timestamp:
Nov 24, 2009 1:31:21 PM (15 years ago)
Author:
vboxsync
Message:

Main: Fixed VM power of during teleportation.

File:
1 edited

Legend:

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

    r24882 r24899  
    270270    , mVMDestroying(false)
    271271    , mVMPoweredOff(false)
     272    , mVMIsAlreadyPoweringOff(false)
    272273    , mVMMDev(NULL)
    273274    , mAudioSniffer(NULL)
     
    56615662                && that->mMachineState != MachineState_TeleportingIn
    56625663                && that->mMachineState != MachineState_LiveSnapshotting
    5663                 && that->mMachineState != MachineState_Teleporting
    56645664                && that->mMachineState != MachineState_TeleportingPausedVM
     5665                && !that->mVMIsAlreadyPoweringOff
    56655666               )
    56665667            {
     
    57615762                    that->setMachineState(MachineState_PoweredOff);
    57625763                    break;
    5763                 case MachineState_Teleporting:
    57645764                case MachineState_TeleportingPausedVM:
    57655765                    /* Successfully teleported the VM. */
     
    57905790                case MachineState_Saving:
    57915791                case MachineState_Restoring:
     5792                case MachineState_Stopping:
     5793                case MachineState_TeleportingIn:
    57925794                    /* The worker threads handles the transition. */
    57935795                    break;
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