diff options
author | Emil Velikov <emil.velikov@collabora.com> | 2016-11-14 17:08:19 +0000 |
---|---|---|
committer | Daniel Stone <daniels@collabora.com> | 2016-11-21 16:07:32 +0000 |
commit | 5e604082d11c5b8d298aecb8cfa0f56ca9ab9a23 (patch) | |
tree | e10b7ed49f7ccb56d828d586b78a0ab0a33e4cc0 /clients | |
parent | a69b870e1dc6056170baa30919938a7118401890 (diff) |
clients/nested-client: call eglTerminate/eglReleaseThread at exit
Do a minimalistic teardown at program exist.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Diffstat (limited to 'clients')
-rw-r--r-- | clients/nested-client.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clients/nested-client.c b/clients/nested-client.c index 0ac6d8fb..5027075c 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 |