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
|
|
@ -58,6 +58,7 @@ void MainLoop::_bind_methods() {
|
|||
BIND_CONSTANT(NOTIFICATION_OS_MEMORY_WARNING);
|
||||
BIND_CONSTANT(NOTIFICATION_TRANSLATION_CHANGED);
|
||||
BIND_CONSTANT(NOTIFICATION_WM_ABOUT);
|
||||
BIND_CONSTANT(NOTIFICATION_CRASH);
|
||||
};
|
||||
|
||||
void MainLoop::set_init_script(const Ref<Script> &p_init_script) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue