You've already forked godot
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:
@@ -656,6 +656,11 @@ void SceneTree::_notification(int p_notification) {
|
||||
#endif
|
||||
} break;
|
||||
|
||||
case NOTIFICATION_CRASH: {
|
||||
|
||||
get_root()->propagate_notification(p_notification);
|
||||
} break;
|
||||
|
||||
default:
|
||||
break;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user