DBG: unregister dbghelp callback when doing dbghelp cleanup (might have to do with issue #303)
This commit is contained in:
parent
f5d408a187
commit
8ff5012cd5
|
@ -1173,6 +1173,7 @@ DWORD WINAPI threadDebugLoop(void* lpParameter)
|
|||
stopInfo.reserved = 0;
|
||||
plugincbcall(CB_STOPDEBUG, &stopInfo);
|
||||
//cleanup dbghelp
|
||||
SafeSymRegisterCallback64(fdProcessInfo->hProcess, nullptr, 0);
|
||||
SafeSymCleanup(fdProcessInfo->hProcess);
|
||||
//message the user/do final stuff
|
||||
RemoveAllBreakPoints(UE_OPTION_REMOVEALL); //remove all breakpoints
|
||||
|
@ -1438,6 +1439,7 @@ DWORD WINAPI threadAttachLoop(void* lpParameter)
|
|||
stopInfo.reserved = 0;
|
||||
plugincbcall(CB_STOPDEBUG, &stopInfo);
|
||||
//cleanup dbghelp
|
||||
SafeSymRegisterCallback64(fdProcessInfo->hProcess, nullptr, 0);
|
||||
SafeSymCleanup(fdProcessInfo->hProcess);
|
||||
//message the user/do final stuff
|
||||
RemoveAllBreakPoints(UE_OPTION_REMOVEALL); //remove all breakpoints
|
||||
|
|
Loading…
Reference in New Issue