- Timestamp:
- May 25, 2012 8:23:06 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxBalloonCtrl/VBoxModAPIMonitor.cpp
r41422 r41444 270 270 271 271 CHECK_ERROR(console, SaveState(progress.asOutParam())); 272 if ( FAILED(rc))272 if (SUCCEEDED(rc)) 273 273 { 274 if (!fPaused)275 console->Resume();276 break;274 progress->WaitForCompletion(ulTimeout); 275 CHECK_PROGRESS_ERROR(progress, ("Failed to save machine state of machine \"%ls\"", 276 strUuid.raw())); 277 277 } 278 278 279 progress->WaitForCompletion(ulTimeout); 280 CHECK_PROGRESS_ERROR(progress, ("Failed to save machine state of machine \"%ls\"", 281 strUuid.raw())); 282 if (FAILED(rc)) 279 if (SUCCEEDED(rc)) 283 280 { 284 if (!fPaused)285 console->Resume();281 serviceLogVerbose(("apimon: State of machine \"%ls\" saved, powering off ...\n", strUuid.raw())); 282 CHECK_ERROR_BREAK(console, PowerButton()); 286 283 } 284 else 285 serviceLogVerbose(("apimon: Saving state of machine \"%ls\" failed\n", strUuid.raw())); 287 286 288 287 break;
Note:
See TracChangeset
for help on using the changeset viewer.