diff options
author | Marcelo Fernandez <marcelofg55@gmail.com> | 2018-07-02 16:18:58 -0300 |
---|---|---|
committer | Marcelo Fernandez <marcelofg55@gmail.com> | 2018-07-02 16:18:58 -0300 |
commit | deebeb27424e63a9f30cb855a4e0d72ea586d1c9 (patch) | |
tree | 4e533db34687cf53a33a9392ebb13bbe872c56df /scene/main | |
parent | 2dc738ce2733757631a4ccf413a92411c4400246 (diff) | |
download | redot-engine-deebeb27424e63a9f30cb855a4e0d72ea586d1c9.tar.gz |
Add a new notification to detect crashes on native scripts
Diffstat (limited to 'scene/main')
-rw-r--r-- | scene/main/scene_tree.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scene/main/scene_tree.cpp b/scene/main/scene_tree.cpp index 8d6e57b335..5caba8ef20 100644 --- a/scene/main/scene_tree.cpp +++ b/scene/main/scene_tree.cpp @@ -656,6 +656,11 @@ void SceneTree::_notification(int p_notification) { #endif } break; + case NOTIFICATION_CRASH: { + + get_root()->propagate_notification(p_notification); + } break; + default: break; }; |