VirtualBox

Changeset 71326 in vbox


Ignore:
Timestamp:
Mar 14, 2018 2:28:28 PM (7 years ago)
Author:
vboxsync
Message:

Guest Control/Main: Simply ignore callbacks which there are no waiters for (anymore).

File:
1 edited

Legend:

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

    r71299 r71326  
    702702            case GUEST_MSG_REPLY:
    703703            {
    704                 if (pSvcCb->mParms >= 3)
     704                if (pSvcCb->mParms >= 4)
    705705                {
    706706                    int idx = 1; /* Current parameter index. */
     
    715715
    716716                    GuestWaitEventPayload evPayload(dataCb.uType, dataCb.pvPayload, dataCb.cbPayload);
    717                     int rc2 = signalWaitEventInternal(pCtxCb, dataCb.rc, &evPayload);
    718                     AssertRC(rc2);
     717                    vrc = signalWaitEventInternal(pCtxCb, dataCb.rc, &evPayload);
     718                    if (vrc == VERR_NOT_FOUND)
     719                        vrc = VINF_SUCCESS;
    719720                }
    720721                else
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