From: Heeyong Song Date: Mon, 20 Feb 2023 08:10:26 +0000 (+0900) Subject: [Tizen] Disable property notification when the object is deleted X-Git-Tag: accepted/tizen/6.5/unified/20230222.114605^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F40%2F288640%2F1;p=platform%2Fcore%2Fuifw%2Fdali-core.git [Tizen] Disable property notification when the object is deleted Change-Id: Ief68d6cb246e75f9f9870f5285dc827b53ad2916 --- diff --git a/dali/internal/event/common/object-impl.cpp b/dali/internal/event/common/object-impl.cpp index 10982d3..e9f5dbb 100644 --- a/dali/internal/event/common/object-impl.cpp +++ b/dali/internal/event/common/object-impl.cpp @@ -970,6 +970,10 @@ Object::~Object() { item->ObjectDestroyed(*this); } + + // Disable property notifications in scene graph + DisablePropertyNotifications(); + delete mConstraints; delete mPropertyNotifications;