1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: q234rty <q23456yuiop@gmail.com>
3 Date: Fri, 7 Apr 2023 18:08:03 +0800
4 Subject: [PATCH] Fix wrong destruction order for event queue
7 src/wayland-egldisplay.c | 6 +++---
8 1 file changed, 3 insertions(+), 3 deletions(-)
10 diff --git a/src/wayland-egldisplay.c b/src/wayland-egldisplay.c
11 index 284d2add762c..99e6e3b82953 100644
12 --- a/src/wayland-egldisplay.c
13 +++ b/src/wayland-egldisplay.c
14 @@ -481,12 +481,12 @@ static void getServerProtocolsInfo(struct wl_display *nativeDpy,
19 + wl_registry_destroy(wlRegistry);
22 wl_event_queue_destroy(queue);
25 - wl_registry_destroy(wlRegistry);
29 EGLDisplay wlEglGetPlatformDisplayExport(void *data,