[PATCH weston 8/8] clients/nested-client: call eglTerminate/eglReleaseThread at exit
Emil Velikov
emil.l.velikov at gmail.com
Mon Nov 14 17:08:19 UTC 2016
From: Emil Velikov <emil.velikov at collabora.com>
Do a minimalistic teardown at program exist.
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
clients/nested-client.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/clients/nested-client.c b/clients/nested-client.c
index 0ac6d8f..5027075 100644
--- a/clients/nested-client.c
+++ b/clients/nested-client.c
@@ -345,6 +345,8 @@ nested_client_destroy(struct nested_client *client)
wl_registry_destroy(client->registry);
wl_display_flush(client->display);
wl_display_disconnect(client->display);
+ eglTerminate(client->egl_display);
+ eglReleaseThread();
}
int
--
2.9.3
More information about the wayland-devel
mailing list