ecore-wl2: roundtrip during client disconnect

ensure all pending requests are processed by the compositor and fixes
session recovery destroy

@fix
This commit is contained in:
Mike Blumenkrantz 2017-02-10 17:23:36 -05:00
parent 4596d795aa
commit ee52a28d04
1 changed files with 1 additions and 0 deletions

View File

@ -756,6 +756,7 @@ ecore_wl2_display_disconnect(Ecore_Wl2_Display *display)
_ecore_wl2_display_cleanup(display);
if (display->refs == 0)
{
wl_display_roundtrip(display->wl.display);
wl_display_disconnect(display->wl.display);
/* remove this client display from hash */