ecore_wl2: Check return of wl_display_dispatch()
authorDerek Foreman <derekf@osg.samsung.com>
Tue, 3 May 2016 18:52:03 +0000 (13:52 -0500)
committerDerek Foreman <derekf@osg.samsung.com>
Tue, 3 May 2016 19:24:45 +0000 (14:24 -0500)
commit74283f076eb9f94f33b03bdf1de756999cc18237
tree3d7c8119c03dbca3ac51fc3c54e7b7b82af5b0c0
parentd6818131c040d28ce4a68b643084424c6ff161c1
ecore_wl2: Check return of wl_display_dispatch()

If the compositor crashes at just the right time this dispatch can fail
and result in a stuck app spinning in a tight loop.  Fix it so we do a
proper shutdown in this case.

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
src/lib/ecore_wl2/ecore_wl2_display.c