ecore-drm: Free devices before we release the libinput reference
authorChris Michael <cp.michael@samsung.com>
Wed, 10 Dec 2014 19:26:52 +0000 (14:26 -0500)
committerChris Michael <cp.michael@samsung.com>
Wed, 10 Dec 2014 19:26:52 +0000 (14:26 -0500)
commit0b77b7f59f483ee834536e528f5202d293faeb36
tree2b978f091115906c78c24e6def0139df80e8a2e2
parent251c300b8f908f573fbc0606cc4285db2ac724f7
ecore-drm: Free devices before we release the libinput reference

Summary: When destroying evdev devices, we make calls to
libinput_device_unref ... but we cannot Make that call if the libinput
context has been destroyed already (as happens when we free input). So
to fix, don't release the libinput context until all devices have been
released.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/lib/ecore_drm/ecore_drm_inputs.c