VirtualBox

Changeset 25973 in vbox


Ignore:
Timestamp:
Jan 22, 2010 2:29:26 PM (15 years ago)
Author:
vboxsync
Message:

Prevent HGCM thread leak (xTracker 4617)

File:
1 edited

Legend:

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

    r25966 r25973  
    103103VMMDev::~VMMDev()
    104104{
     105#ifdef VBOX_WITH_HGCM
     106    if (hgcmIsActive())
     107    {
     108        ASMAtomicWriteBool(&m_fHGCMActive, false);
     109        HGCMHostShutdown();
     110    }
     111#endif /* VBOX_WITH_HGCM */
    105112    RTSemEventDestroy (mCredentialsEvent);
    106113    if (mpDrv)
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