VirtualBox

Changeset 49552 in vbox for trunk


Ignore:
Timestamp:
Nov 19, 2013 2:12:59 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
90742
Message:

Main/Machine: the API description clearly says that deleting a VM config wlong with disk images will close the media

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/MachineImpl.cpp

    r49293 r49552  
    57075707            rc = task.pProgress->WaitForAsyncProgressCompletion(pProgress2);
    57085708            if (FAILED(rc)) throw rc;
    5709             /* Check the result of the asynchrony process. */
     5709            /* Check the result of the asynchronous process. */
    57105710            LONG iRc;
    57115711            rc = pProgress2->COMGETTER(ResultCode)(&iRc);
     
    57155715            if (FAILED(iRc))
    57165716                throw setError(ProgressErrorInfo(pProgress2));
     5717
     5718            /* Close the medium, deliberately without checking the return
     5719             * code, and without leaving any trace in the error info, as
     5720             * a failure here is a very minor issue, which shouldn't happen
     5721             * as above we even managed to delete the medium. */
     5722            {
     5723                ErrorInfoKeeper eik;
     5724                pMedium->Close();
     5725            }
    57175726        }
    57185727        setMachineState(oldState);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette