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

Write to logfile before setting the log callback to NULL

This commit is contained in:
MiSimon 2020-06-03 12:37:43 +02:00
parent 822435748a
commit beb496e3ed

View File

@ -171,16 +171,16 @@ 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;
LV_LOG_INFO("lv_deinit done");
#if LV_USE_LOG
lv_log_register_print_cb(NULL);
#endif
LV_LOG_INFO("lv_deinit done");
}
#endif