ecore-evas-x no longer tries making x calls on deleted windows when trying to free its sync counter

This commit is contained in:
Mike Blumenkrantz 2013-08-01 12:17:58 +01:00
parent 9104fe7322
commit 5d1dec17b3
1 changed files with 2 additions and 1 deletions

View File

@ -1651,7 +1651,8 @@ _ecore_evas_x_free(Ecore_Evas *ee)
ecore_x_pixmap_free(edata->pixmap.front);
_ecore_evas_x_group_leader_unset(ee);
_ecore_evas_x_sync_set(ee);
if (edata->sync_counter)
ecore_x_sync_counter_free(edata->sync_counter);
if (edata->win_shaped_input)
ecore_x_window_free(edata->win_shaped_input);
ecore_event_window_unregister(ee->prop.window);