mirror of https://github.com/x64dbg/GleeBug
fix INVALID_HANDLE_VALUE exception on attach
See: * https://github.com/x64dbg/x64dbg/issues/1777 * https://github.com/x64dbg/x64dbg/issues/1759
This commit is contained in:
parent
719f349b67
commit
4cb07be1f5
|
|
@ -18,6 +18,7 @@ namespace GleeBug
|
|||
cbLoadDllEvent(loadDll, dll);
|
||||
|
||||
//close the file handle
|
||||
if(loadDll.hFile)
|
||||
CloseHandle(loadDll.hFile);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@ namespace GleeBug
|
|||
cbCreateProcessEvent(createProcess, *mProcess);
|
||||
|
||||
//close the file handle
|
||||
if(createProcess.hFile)
|
||||
CloseHandle(createProcess.hFile);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue