1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Add a new notification to detect crashes on native scripts

This commit is contained in:
Marcelo Fernandez
2018-07-02 16:18:58 -03:00
parent 2dc738ce27
commit deebeb2742
8 changed files with 40 additions and 0 deletions

View File

@@ -656,6 +656,11 @@ void SceneTree::_notification(int p_notification) {
#endif
} break;
case NOTIFICATION_CRASH: {
get_root()->propagate_notification(p_notification);
} break;
default:
break;
};