VirtualBox

Changeset 2433 in vbox for trunk


Ignore:
Timestamp:
Apr 30, 2007 1:41:35 PM (18 years ago)
Author:
vboxsync
Message:

Do not look for invalid HGCM handles.

Location:
trunk/src/VBox/Main/hgcm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/hgcm/HGCM.cpp

    r2386 r2433  
    22442244                /* Wait for the thread termination. */
    22452245                hgcmThreadWait (g_hgcmThread);
     2246                g_hgcmThread = 0;
    22462247
    22472248                hgcmThreadUninit ();
  • trunk/src/VBox/Main/hgcm/HGCMObjects.cpp

    r1788 r2433  
    226226    HGCMObject *pObject = NULL;
    227227
     228    if ((handle & 0x7FFFFFFF) == 0)
     229    {
     230        return pObject;
     231    }
     232
    228233    int rc = hgcmObjEnter ();
    229234
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