From a70dcf9c747cc332bc116e3f1684c00d210f17a0 Mon Sep 17 00:00:00 2001 From: Heeyong Song Date: Mon, 20 Feb 2023 17:10:26 +0900 Subject: [PATCH] Disable property notification when the object is deleted Change-Id: Ief68d6cb246e75f9f9870f5285dc827b53ad2916 --- dali/internal/event/common/object-impl.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dali/internal/event/common/object-impl.cpp b/dali/internal/event/common/object-impl.cpp index ce584da..590acbc 100644 --- a/dali/internal/event/common/object-impl.cpp +++ b/dali/internal/event/common/object-impl.cpp @@ -982,6 +982,10 @@ Object::~Object() { item->ObjectDestroyed(*this); } + + // Disable property notifications in scene graph + DisablePropertyNotifications(); + delete mConstraints; delete mPropertyNotifications; -- 2.7.4