elm_shutdown could be called without elm_exit.
In this case, the dbus connection created in elm_run is not disconnected.
Then eldbus complains with CRItical log message.
Change-Id: I20fdd1730a764301d297470de7cfa32173f8504c
_elm_init_count--;
if (_elm_init_count > 0) return _elm_init_count;
+ //TIZEN_ONLY(20170413) Handle exception calling elm_shutdown without elm_exit
+ if (_elm_config->atspi_mode != ELM_ATSPI_MODE_OFF)
+ _elm_atspi_bridge_shutdown();
+ //
+
ecore_event_handler_del(system_handlers[0]);
ecore_event_handler_del(system_handlers[1]);
EAPI void
elm_exit(void)
{
- _elm_atspi_bridge_shutdown();
+ if (_elm_config->atspi_mode != ELM_ATSPI_MODE_OFF)
+ _elm_atspi_bridge_shutdown();
+
ecore_main_loop_quit();
if (elm_policy_get(ELM_POLICY_EXIT) == ELM_POLICY_EXIT_WINDOWS_DEL)