Changeset 43918 in vbox
- Timestamp:
- Nov 20, 2012 2:21:15 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineWindow.cpp
r43913 r43918 382 382 /* This flag will keep the status of every further logical operation: */ 383 383 bool fSuccess = true; 384 385 /* This flag is set if we must terminate the VM, even if server calls fail */ 386 bool fForce = false; 384 387 385 388 /* Pause before showing dialog if necessary: */ … … 469 472 } 470 473 else 471 msgCenter().cannotStopMachine(console); 474 { 475 COMResult res(console); 476 /* This can happen if VBoxSVC is not running */ 477 if (FAILED_DEAD_INTERFACE(res.rc())) 478 fForce = true; 479 else 480 msgCenter().cannotStopMachine(console); 481 } 472 482 if (fSuccess) 473 483 { … … 489 499 } 490 500 } 491 if (fSuccess )501 if (fSuccess || fForce) 492 502 fCloseApplication = true; 493 503 break;
Note:
See TracChangeset
for help on using the changeset viewer.