VirtualBox

Changeset 38475 in vbox


Ignore:
Timestamp:
Aug 16, 2011 12:56:14 PM (13 years ago)
Author:
vboxsync
Message:

Main/Medium: fix error message handling in the error cleanup code

File:
1 edited

Legend:

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

    r38469 r38475  
    42384238        /* Undo deleting state if necessary. */
    42394239        AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS);
     4240        /* Make sure that any error signalled by unmarkForDeletion() is not
     4241         * ending up in the error list (if the caller uses MultiResult). It
     4242         * usually is spurious, as in most cases the medium hasn't been marked
     4243         * for deletion when the error was thrown above. */
     4244        ErrorInfoKeeper eik;
    42404245        unmarkForDeletion();
    42414246    }
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