mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-26 02:19:24 +01:00
add CloseHandle
This commit is contained in:
parent
76891cb766
commit
a393cd408d
@ -26,6 +26,8 @@ int dbg_exception_handler(EXCEPTION_POINTERS* exception)
|
|||||||
0,
|
0,
|
||||||
0);
|
0);
|
||||||
|
|
||||||
|
if (dmp)
|
||||||
|
{
|
||||||
MINIDUMP_EXCEPTION_INFORMATION info;
|
MINIDUMP_EXCEPTION_INFORMATION info;
|
||||||
info.ThreadId = GetCurrentThreadId();
|
info.ThreadId = GetCurrentThreadId();
|
||||||
info.ExceptionPointers = exception;
|
info.ExceptionPointers = exception;
|
||||||
@ -40,6 +42,9 @@ int dbg_exception_handler(EXCEPTION_POINTERS* exception)
|
|||||||
NULL,
|
NULL,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
|
CloseHandle(dmp);
|
||||||
|
}
|
||||||
|
|
||||||
return EXCEPTION_EXECUTE_HANDLER;
|
return EXCEPTION_EXECUTE_HANDLER;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user