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:
parent
a69b870e1d
commit
5e604082d1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user