From 1d01561dcdf6a7e4ca2c88685f3985b9df2e41d3 Mon Sep 17 00:00:00 2001 From: Woochanlee Date: Tue, 12 Jan 2021 11:11:00 +0900 Subject: [PATCH] Eanimator_vsync: Disabled log domain register Same reason with 38544f61d0573f6a11c459ec52500282f556a6ad. Change-Id: Ic452a56a3585899566d558a4b43c2d878399b035 --- src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_vsync.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_vsync.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_vsync.c index 399d813..41ac36d 100644 --- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_vsync.c +++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_vsync.c @@ -337,7 +337,7 @@ _tdm_tick_finished(void *data EINA_UNUSED, Ecore_Thread *thread EINA_UNUSED) if (client) tdm_client_destroy(client); - if (_vsync_log_dom > 0) + if (LOG_ENABLED && _vsync_log_dom > 0) eina_log_domain_unregister(_vsync_log_dom); _vsync_log_dom = -1; @@ -370,7 +370,7 @@ _ecore_wl_animator_vsync_tick_quit(EINA_UNUSED void *data) void _ecore_wl_animator_vsync_tick_begin(EINA_UNUSED void *data) { - if (_vsync_log_dom < 0) + if (LOG_ENABLED && _vsync_log_dom < 0) _vsync_log_dom = eina_log_domain_register("ecore_anim_vsync", EINA_COLOR_LIGHTRED); if (_tdm_client_init()) -- 2.7.4