feat(ui): Enhance AppClickUserData management for proper cleanup and tracking
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include "ui/interaction_handler.h"
|
||||
#include "lvgl.h"
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
/**
|
||||
* @brief UI Handler - manages app lifecycle and rendering
|
||||
@@ -115,4 +116,7 @@ private:
|
||||
lv_obj_t* main_screen_ = nullptr; ///< Root screen
|
||||
RootLayout root_layout_; ///< Main screen layout manager
|
||||
AppDescriptor* active_descriptor_ = nullptr; ///< Currently active app descriptor (managed by AppRegistry)
|
||||
|
||||
// Track allocated user data for cleanup
|
||||
std::vector<void*> app_click_user_data_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user