From a1962865f89256a8b47949f18f9d3925139bfd74 Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Sun, 3 Jun 2018 12:47:16 -0400 Subject: [PATCH] quick bugfix --- vnr/texthook/host/hookman.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/vnr/texthook/host/hookman.cc b/vnr/texthook/host/hookman.cc index 941d150..bf25bdb 100644 --- a/vnr/texthook/host/hookman.cc +++ b/vnr/texthook/host/hookman.cc @@ -230,6 +230,7 @@ void HookManager::UnRegisterProcess(DWORD pid) UnmapViewOfFile(pr.hookman_map); CloseHandle(pr.process_handle); CloseHandle(pr.hookman_section); + processRecordsByIds.erase(pid); //NtClose(text_pipes[i]); //NtClose(cmd_pipes[i]); //NtClose(recv_threads[i]);