lvgl / lv_drivers

TFT and touch pad drivers for LVGL embedded GUI library
https://docs.lvgl.io/master/porting/index.html
MIT License
290 stars 309 forks source link

Fix crash in sdl.c during startup in certain conditions #286

Closed mikaeladlers closed 10 months ago

mikaeladlers commented 10 months ago

I have encountered that the pointer is NULL when I have a lot of screens and objects during startup. If I remove objects I can get it working again which is very strange. So it seams that it is dependent on how many lvObj that has beed created. Adding a null check seams to work.

kisvegabor commented 10 months ago

It's really strange. Anyway adding a NULL check is always a valid update . :slightly_smiling_face:

Thank you!