Open Cun-Jiang opened 1 week ago
I mostly in C and don't really use C++ or shared pointers, so unfortunately I can't comment much. What I can say is that by design we haven't considered shared pointers specifically. However I can't see why it shouldn't work, once you can pass a custom delete functions.
Can you try with debugger if lv_obj_delete
is called?
I want to use std::shared_ptr but it doesn't seem to be working. Is lvgl not supporting std::shared_ptr?