minor fixes
This commit is contained in:
parent
e621155e25
commit
17b057adc0
@ -36,7 +36,7 @@ namespace Host
|
||||
DLLEXPORT void Close()
|
||||
{
|
||||
// Artikash 7/25/2018: This is only called when NextHooker is closed, at which point Windows should free everything itself...right?
|
||||
#ifdef _DEBUG
|
||||
#ifdef _DEBUG // Check memory leaks
|
||||
HOST_LOCK;
|
||||
OnRemove = [](TextThread* textThread) { delete textThread; };
|
||||
for (auto i : processRecordsByIds) UnregisterProcess(i.first);
|
||||
|
@ -33,11 +33,6 @@ DWORD processStartAddress,
|
||||
processStopAddress;
|
||||
|
||||
enum { HOOK_BUFFER_SIZE = MAX_HOOK * sizeof(TextHook) };
|
||||
//#define MAX_HOOK (HOOK_BUFFER_SIZE/sizeof(TextHook))
|
||||
DWORD hook_buff_len = HOOK_BUFFER_SIZE;
|
||||
|
||||
namespace { FilterRange _filter[IHF_FILTER_CAPACITY]; }
|
||||
FilterRange *filter = _filter;
|
||||
|
||||
WCHAR hm_section[0x100];
|
||||
HANDLE hSection;
|
||||
|
Loading…
Reference in New Issue
Block a user