VirtualBox

Changeset 47231 in vbox


Ignore:
Timestamp:
Jul 18, 2013 11:57:16 AM (12 years ago)
Author:
vboxsync
Message:

VBoxTray/VBoxMMR: Fixed nasty debug assertion.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxMMR.cpp

    r46593 r47231  
    4646}
    4747
    48 int VBoxMMRInit(
    49     const VBOXSERVICEENV *pEnv,
    50     void **ppInstance,
    51     bool *pfStartThread)
     48int VBoxMMRInit(const VBOXSERVICEENV *pEnv, void **ppInstance, bool *pfStartThread)
    5249{
    5350    LogRel2(("VBoxMMR: Initializing\n"));
     
    7673            rc = VERR_NOT_FOUND;
    7774        }
     75
     76        RTLdrClose(gCtx.hModHook);
     77        gCtx.hModHook = NIL_RTLDRMOD;
    7878    }
    7979    else
    8080        LogRel2(("VBoxMMR: Hooking library not found (%Rrc)\n", rc));
    8181
    82     RTLdrClose(gCtx.hModHook);
    83     gCtx.hModHook = NIL_RTLDRMOD;
    8482    return rc;
    8583}
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