VirtualBox

Changeset 54994 in vbox for trunk/src


Ignore:
Timestamp:
Mar 27, 2015 4:33:54 PM (10 years ago)
Author:
vboxsync
Message:

Preserve error messages before calling i_clearDiskEncryptionKeysOnAllAttachmentsWithKeyId()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/ConsoleImpl.cpp

    r54978 r54994  
    34733473             * change the state of the Console object.
    34743474             */
     3475            ErrorInfoKeeper eik; /* Keep current error info or it gets deestroyed in the IPC methods below. */
    34753476            for (unsigned ii = 0; ii < i; ii++)
    34763477            {
     
    47534754    SafeIfaceArray<IMediumAttachment> sfaAttachments;
    47544755
    4755     AutoCaller autoCaller(this);
    4756     AssertComRCReturnRC(autoCaller.rc());
    4757 
    47584756    /* Get the VM - must be done before the read-locking. */
    47594757    SafeVMPtr ptrVM(this);
     
    50004998    {
    50014999        /* Clear disk encryption setup on successfully configured attachments. */
     5000        ErrorInfoKeeper eik; /* Keep current error info or it gets deestroyed in the IPC methods below. */
    50025001        i_clearDiskEncryptionKeysOnAllAttachmentsWithKeyId(strId);
    50035002    }
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