Add a new notification to detect crashes on native scripts
This commit is contained in:
parent
2dc738ce27
commit
deebeb2742
8 changed files with 40 additions and 0 deletions
|
|
@ -124,6 +124,9 @@ DWORD CrashHandlerException(EXCEPTION_POINTERS *ep) {
|
|||
|
||||
fprintf(stderr, "%s: Program crashed\n", __FUNCTION__);
|
||||
|
||||
if (OS::get_singleton()->get_main_loop())
|
||||
OS::get_singleton()->get_main_loop()->notification(MainLoop::NOTIFICATION_CRASH);
|
||||
|
||||
// Load the symbols:
|
||||
if (!SymInitialize(process, NULL, false))
|
||||
return EXCEPTION_CONTINUE_SEARCH;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue