Ensure a FrameCallback is removed properly from a FrameCallbackInterface
[platform/core/uifw/dali-core.git] / dali / internal / update / manager / scene-graph-frame-callback.h
index f09befa..4d3a061 100644 (file)
@@ -132,6 +132,7 @@ private:
   Mutex                        mMutex;
   std::unique_ptr<UpdateProxy> mUpdateProxy{nullptr}; ///< A unique pointer to the implementation of the UpdateProxy.
   FrameCallbackInterface*      mFrameCallbackInterface;
+  bool                         mValid{true}; ///< Set to false when Invalidate() is called.
 };
 
 /**