elm: Fix double shutdowns of ecore_x and ecore_wl2

This is now done elsewhere.  wayland clients were ERRing on shutdown.

ref 9cf61c2f6d
This commit is contained in:
Derek Foreman 2018-02-09 11:25:41 -06:00
parent 38d8ae0217
commit 712daf38db
1 changed files with 0 additions and 11 deletions

View File

@ -4143,17 +4143,6 @@ _elm_config_sub_shutdown(void)
{
ecore_event_type_flush(ELM_EVENT_CONFIG_ALL_CHANGED);
#ifdef HAVE_ELEMENTARY_X
if (ecore_x_display_get()) ecore_x_shutdown();
#endif
#ifdef HAVE_ELEMENTARY_WL2
if (_elm_wl_display)
{
ecore_wl2_display_disconnect(_elm_wl_display);
_elm_wl_display = NULL;
ecore_wl2_shutdown();
}
#endif
#ifdef HAVE_ELEMENTARY_WIN32
ecore_win32_shutdown();
#endif