VirtualBox

Changeset 71566 in vbox


Ignore:
Timestamp:
Mar 29, 2018 11:59:27 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
121546
Message:

Guest Control/Main: Resolved a @todo: Return VERR_OBJECT_DESTROYED on failure in init().

Location:
trunk/src/VBox/Main/src-client
Files:
2 edited

Legend:

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

    r71560 r71566  
    6868    /* Enclose the state transition NotReady->InInit->Ready. */
    6969    AutoInitSpan autoInitSpan(this);
    70     AssertReturn(autoInitSpan.isOk(), E_FAIL);
     70    AssertReturn(autoInitSpan.isOk(), VERR_OBJECT_DESTROYED);
    7171
    7272    int vrc = bindToSession(pConsole, pSession, aObjectID);
  • trunk/src/VBox/Main/src-client/GuestFsObjInfoImpl.cpp

    r71174 r71566  
    6464    /* Enclose the state transition NotReady->InInit->Ready. */
    6565    AutoInitSpan autoInitSpan(this);
    66     AssertReturn(autoInitSpan.isOk(), E_FAIL); /** @todo r=bird: returning COM or IPRT status codes here?*/
     66    AssertReturn(autoInitSpan.isOk(), VERR_OBJECT_DESTROYED);
    6767
    6868    mData = objData;
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