Cleanup detour structures properly on unload
This commit is contained in:
@@ -37,5 +37,6 @@ bool HandleDetour(HookType_t hookType, CHook* pDetour);
|
||||
bool AddDetourPluginHook(HookType_t hookType, CHook *pDetour, HookSetup *setup, IPluginFunction *pCallback);
|
||||
bool RemoveDetourPluginHook(HookType_t hookType, CHook *pDetour, IPluginFunction *pCallback);
|
||||
void RemoveAllCallbacksForContext(IPluginContext *pContext);
|
||||
void CleanupDetours();
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user