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>
This commit is contained in:
committed by
Daniel Stone
parent
a69b870e1d
commit
5e604082d1
@@ -345,6 +345,8 @@ nested_client_destroy(struct nested_client *client)
|
|||||||
wl_registry_destroy(client->registry);
|
wl_registry_destroy(client->registry);
|
||||||
wl_display_flush(client->display);
|
wl_display_flush(client->display);
|
||||||
wl_display_disconnect(client->display);
|
wl_display_disconnect(client->display);
|
||||||
|
eglTerminate(client->egl_display);
|
||||||
|
eglReleaseThread();
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|||||||
Reference in New Issue
Block a user