VirtualBox

Changeset 30134 in vbox for trunk


Ignore:
Timestamp:
Jun 9, 2010 6:22:31 PM (15 years ago)
Author:
vboxsync
Message:

Session::close: Seems E_ACCESSDENIED is returned by OnSessionEnd instead of E_UNEXPECTED...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/SessionImpl.cpp

    r29953 r30134  
    891891         *  If we get E_UNEXPECTED this means that the direct session has already
    892892         *  been closed, we're just too late with our notification and nothing more
     893         *
     894         *  bird: Seems E_ACCESSDENIED is what gets returned these days; see
     895         *        VirtualBoxBase::addCaller.
    893896         */
    894         if (mType != SessionType_Direct && rc == E_UNEXPECTED)
     897        if (mType != SessionType_Direct && (rc == E_UNEXPECTED || rc == E_ACCESSDENIED))
    895898            rc = S_OK;
    896899
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