client: Fix segmentation fault in the case weston-nested
authorYong Gan <yong.gan@nxp.com>
Tue, 5 Sep 2017 00:00:30 +0000 (08:00 +0800)
committerDaniel Stone <daniels@collabora.com>
Thu, 7 Jun 2018 17:07:08 +0000 (18:07 +0100)
commitbc04d70336bc8749b7ca7696e5236b80e7ad59b5
tree22d3a0e8e1b7e181c7f8b4a0a9003fb4f48892d4
parent7f4d9ffefa7162c0d78a8071c4a4f5c050ff8885
client: Fix segmentation fault in the case weston-nested

eglTerminate should be called before the display was disconnected.

Signed-off-by: Yong Gan <yong.gan@nxp.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
clients/nested-client.c