1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

Fix #1342 (regression from #1319)

This commit is contained in:
embeddedt 2020-01-05 19:28:29 -05:00 committed by GitHub
parent 7d25f66060
commit 492c9e4178
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -125,7 +125,9 @@ void lv_init(void)
void lv_deinit(void)
{
lv_gc_clear_roots();
#if LV_USE_LOG
lv_log_register_print_cb(NULL);
#endif
lv_disp_set_default(NULL);
lv_mem_deinit();
lv_initialized = false;