Changeset 59888 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Mar 1, 2016 3:16:06 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 105792
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp
r59816 r59888 213 213 return false; 214 214 215 /* Check if we missed a really quick termination after successful startup: */ 216 if (isTurnedOff()) 217 return false; 215 /* Check if we missed a really quick termination after successful powerUp(). 216 * We should take into account the fact of async machine-state arrival. 217 * And we don't even want to loop at this point to handle posted 218 * machine-state events, so we are relying onto CMachine getter 219 * to return the fresh state of the thing we want. */ 220 const KMachineState ms = machine().GetState(); 221 switch (ms) 222 { 223 case KMachineState_PoweredOff: 224 case KMachineState_Saved: 225 case KMachineState_Teleported: 226 case KMachineState_Aborted: 227 return false; 228 default: 229 break; 230 } 218 231 219 232 /* Postprocess initialization: */
Note:
See TracChangeset
for help on using the changeset viewer.