VirtualBox

Changeset 8822 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 14, 2008 9:23:02 PM (17 years ago)
Author:
vboxsync
Message:

Don't queue stuff when paused or stuck. (Was all but running.)

File:
1 edited

Legend:

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

    r8155 r8822  
    229229        MachineState_T machineState;
    230230        mParent->COMGETTER(State)(&machineState);
    231         if (machineState != MachineState_Running)
     231        if (    machineState != MachineState_Running
     232            &&  machineState != MachineState_Paused
     233            &&  machineState != MachineState_Stuck)
    232234        {
    233235            // queue the request
     
    296298        MachineState_T machineState;
    297299        mParent->COMGETTER(State)(&machineState);
    298         if (machineState != MachineState_Running)
     300        if (    machineState != MachineState_Running
     301            &&  machineState != MachineState_Paused
     302            &&  machineState != MachineState_Stuck)
    299303        {
    300304            // queue the request
     
    362366        MachineState_T machineState;
    363367        mParent->COMGETTER(State)(&machineState);
    364         if (machineState != MachineState_Running)
     368        if (    machineState != MachineState_Running
     369            &&  machineState != MachineState_Paused
     370            &&  machineState != MachineState_Stuck)
    365371        {
    366372            // queue the request
     
    414420        MachineState_T machineState;
    415421        mParent->COMGETTER(State)(&machineState);
    416         if (machineState != MachineState_Running)
     422        if (    machineState != MachineState_Running
     423            &&  machineState != MachineState_Paused
     424            &&  machineState != MachineState_Stuck)
    417425        {
    418426            // queue the request
     
    472480        MachineState_T machineState;
    473481        mParent->COMGETTER(State)(&machineState);
    474         if (machineState != MachineState_Running)
     482        if (    machineState != MachineState_Running
     483            &&  machineState != MachineState_Paused
     484            &&  machineState != MachineState_Stuck)
    475485        {
    476486            // queue the request
     
    579589        MachineState_T machineState;
    580590        mParent->COMGETTER(State)(&machineState);
    581         if (machineState != MachineState_Running)
     591        if (    machineState != MachineState_Running
     592            &&  machineState != MachineState_Paused
     593            &&  machineState != MachineState_Stuck)
    582594        {
    583595            // queue the request
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