Cache has_conformant info for preventing app crash 28/108628/1
authorJi-hoon Lee <dalton.lee@samsung.com>
Thu, 5 Jan 2017 07:57:40 +0000 (16:57 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Thu, 5 Jan 2017 07:57:44 +0000 (16:57 +0900)
commit8382e2b2c56614b755181062d6aa7373dcd31e18
treef8966581a15e6947d61111b7ed3382d94202a142
parentde6bf4d86921364fd3218b908c06afba8097e501
Cache has_conformant info for preventing app crash

ecore_wl_window_conformant_get() invokes ecore_wl_sync(),
and when this function gets called inside class destructor,
sometimes causes abort() when no connection is available.
Need to enhance this piece of code, to check if there is a
valid wl connection available before querying conformant info.

Change-Id: Iefec96095eaca1e2faa99b3c7186ce2a98808a10
ism/extras/wayland_immodule/wayland_imcontext.c