VirtualBox

Changeset 77586 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 6, 2019 4:36:47 PM (6 years ago)
Author:
vboxsync
Message:

Guest Control/Main: Make sure to cancel pending wait events in GuestBase::baseUninit().

File:
1 edited

Legend:

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

    r77585 r77586  
    759759    LogFlowThisFuncEnter();
    760760
    761     int rc2 = RTCritSectDelete(&mWaitEventCritSect);
     761    /* Make sure to cancel any outstanding wait events. */
     762    int rc2 = cancelWaitEvents();
     763    AssertRC(rc2);
     764
     765    rc2 = RTCritSectDelete(&mWaitEventCritSect);
    762766    AssertRC(rc2);
    763767
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