Cleanup detour structures properly on unload

This commit is contained in:
Peace-Maker
2016-12-11 22:18:53 -07:00
parent 2e52ab24b7
commit 63ccb7448f
3 changed files with 32 additions and 2 deletions
+1
View File
@@ -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