summaryrefslogtreecommitdiff
path: root/scene/3d/joint_3d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/joint_3d.cpp')
-rw-r--r--scene/3d/joint_3d.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/3d/joint_3d.cpp b/scene/3d/joint_3d.cpp
index bd47ab3462..36abd0a5c5 100644
--- a/scene/3d/joint_3d.cpp
+++ b/scene/3d/joint_3d.cpp
@@ -169,6 +169,7 @@ void Joint3D::_notification(int p_what) {
case NOTIFICATION_READY: {
_update_joint();
} break;
+
case NOTIFICATION_EXIT_TREE: {
if (joint.is_valid()) {
_disconnect_signals();