Eanimator_vsync: Disabled log domain register 42/251242/1 submit/tizen/20210118.100557
authorWoochanlee <wc0917.lee@samsung.com>
Tue, 12 Jan 2021 02:11:00 +0000 (11:11 +0900)
committerWoochanlee <wc0917.lee@samsung.com>
Tue, 12 Jan 2021 02:11:00 +0000 (11:11 +0900)
Same reason with 38544f61d0573f6a11c459ec52500282f556a6ad.

Change-Id: Ic452a56a3585899566d558a4b43c2d878399b035

src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_vsync.c

index 399d813..41ac36d 100644 (file)
@@ -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())